Security Resilience

CVE-2023-40309

Access Control in Sap Commoncryptolib 8.0.0

Published
12 September 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0088 60th percentile
Risk Priority 73 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-40309 is a critical-severity Incorrect Authorization (CWE-863) vulnerability in Sap Commoncryptolib. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 40% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

SAP CommonCryptoLib does not perform necessary authentication checks, which may result in missing or wrong authorization checks for an authenticated user, resulting in escalation of privileges. Depending on the application and the level of privileges acquired, an attacker could abuse…

more

functionality restricted to a particular user group as well as read, modify or delete restricted data.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-40308Same product: Sap Commoncryptolib
CVE-2024-44114Same vendor: Sap
CVE-2023-6542Same vendor: Sap
CVE-2024-21736Same vendor: Sap
CVE-2024-21735Same vendor: Sap
CVE-2024-22133Same vendor: Sap
CVE-2023-37491Same vendor: Sap
CVE-2023-31403Same vendor: Sap
CVE-2023-37492Same vendor: Sap
CVE-2022-22536Same vendor: Sap

Affected Assets

sap
commoncryptolib
8.0.0
sap
content server
6.50, 7.53, 7.54
sap
extended application services and runtime
1.0
sap
hana database
2.0
sap
host agent
722
sap
netweaver application server abap
7.22ext, kernel64nuc_7.22, kernel64nuc_7.22ext, kernel64uc_7.22, kernel64uc_7.22ext
sap
netweaver application server java
kernel64nuc_7.22, kernel64nuc_7.22ext, kernel64uc_7.22, kernel64uc_7.22ext, kernel64uc_7.53
sap
sapssoext
17.0
sap
web dispatcher
7.22ext, 7.53, 7.54, 7.77, 7.85

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-863

Periodic review and update of procedures reduces incorrect authorization implementations over time.

addresses: CWE-863

Supervision identifies cases where authorization logic incorrectly permits unauthorized actions.

addresses: CWE-863

Defining permitted attribute values and auditing modifications reduces the chance of incorrect authorization outcomes due to tampered or missing labels.

addresses: CWE-863

The authorization process and usage restrictions help prevent incorrect authorization for remote access types.

addresses: CWE-863

Establishing configuration and connection requirements helps ensure correct rather than incorrect authorization for wireless access.

addresses: CWE-863

Establishing connection authorization processes for mobile devices helps ensure authorization decisions are correctly implemented rather than incorrect.

addresses: CWE-863

Monitoring account use, notifying on changes, and reviewing accounts for compliance corrects incorrect authorization assignments.

addresses: CWE-863

Ensures authorization decisions for external system use are correctly implemented and enforced.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.3's access restriction mechanisms, including granular per-user and per-identity controls, directly enforce correct authorization checks, preventing exploitation of incorrect authorization flaws.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-863, a class-level weakness, and none of its children carries one either.

References