Security Vulnerability Report
中文
CVE-2026-34256 CVSS 7.1 HIGH

CVE-2026-34256

Published: 2026-04-14 01:16:04
Last Modified: 2026-04-17 15:18:17

Description

Due to a missing authorization check in SAP ERP and SAP S/4HANA (Private Cloud and On-Premise), an authenticated attacker could execute a particular ABAP report to overwrite any existing eight?character executable ABAP report without authorization. If the overwritten report is subsequently executed, the intended functionality could become unavailable. Successful exploitation impacts availability, with a limited impact on integrity confined to the affected report, while confidentiality remains unaffected.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

SAP ERP
SAP S/4HANA (Private Cloud and On-Premise)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for CVE-2026-34256: SAP ABAP Report Overwrite via Missing Auth # This script simulates the exploitation logic. import sys def simulate_abap_execution(user_role, target_report, payload): """ Simulates the execution of a vulnerable ABAP report that lacks authorization checks. """ print(f"[*] User Role: {user_role}") print(f"[*] Target Report to Overwrite: {target_report}") # Simulate the vulnerability: No authorization check for 'WRITE' access if user_role == 'LOW_PRIVILEGE': print("[!] Vulnerability Triggered: Authorization check missing.") print(f"[+] Overwriting report '{target_report}' with payload...") # In a real scenario, this would call the vulnerable transaction/report # SUBMIT z_vulnerable_report WITH p_target = target_report WITH p_code = payload. print(f"[+] Success: Report '{target_report}' has been overwritten.") print("[!] Impact: The report will fail or execute malicious code on next run.") return True else: print("[-] Exploit failed or not applicable.") return False if __name__ == "__main__": # Configuration ATTACKER_ROLE = "LOW_PRIVILEGE" TARGET_8_CHAR_REPORT = "Z_CRITICAL" # Example target PAYLOAD_CONTENT = "DO_NOTHING." # Content used to overwrite print("=== CVE-2026-34256 PoC Simulation ===") simulate_abap_execution(ATTACKER_ROLE, TARGET_8_CHAR_REPORT, PAYLOAD_CONTENT)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-34256", "sourceIdentifier": "[email protected]", "published": "2026-04-14T01:16:03.530", "lastModified": "2026-04-17T15:18:16.507", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Due to a missing authorization check in SAP ERP and SAP S/4HANA (Private Cloud and On-Premise), an authenticated attacker could execute a particular ABAP report to overwrite any existing eight?character executable ABAP report without authorization. If the overwritten report is subsequently executed, the intended functionality could become unavailable. Successful exploitation impacts availability, with a limited impact on integrity confined to the affected report, while confidentiality remains unaffected."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 4.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://me.sap.com/notes/3731908", "source": "[email protected]"}, {"url": "https://url.sap/sapsecuritypatchday", "source": "[email protected]"}]}}