CVE-2021-40504 Missing authorization in SAP NetWeaver AS for ABAP and ABAP Platform
Excessive transport authorizations in a template role allow users to exceed display-only permissions, potentially leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-40504?
CVE-2021-40504 is a medium-severity missing authorization vulnerability in Sap Netweaver Application Server Abap, published on 10 Nov 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A certain template role in SAP NetWeaver Application Server for ABAP and ABAP Platform - versions 700, 701, 702, 710, 711, 730, 731, 740, 750, 751, 752, 753, 754, 755, 756, contains transport authorizations, which exceed expected display only permissions.
Weakness: CWE-863
Which versions are affected by CVE-2021-40504?
It affects 1 product.
Products include Sap Netweaver Application Server Abap.
How do I fix CVE-2021-40504?
No fix has been published for CVE-2021-40504 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-40504 being exploited?
There is no known exploitation of CVE-2021-40504 in the wild and no public exploit code.
Other vulnerabilities in Sap Netweaver Application Server Abap
- CVE-2026-0488 Code Injection vulnerability in SAP CRM and SAP S/4HANA (Scripting Editor)
- CVE-2021-40499 Code injection in SAP NetWeaver Application Server for ABAP (SAP Cloud Print Manager and SAPSprint)
- CVE-2023-27269 Directory Traversal vulnerability in SAP NetWeaver AS for ABAP and ABAP Platform
- CVE-2023-27500 Directory Traversal vulnerability in SAP NetWeaver AS for ABAP and ABAP Platform
- CVE-2023-0014 Capture-replay vulnerability in SAP NetWeaver AS for ABAP and ABAP Platform
Sources
Also known as GHSA-jpqf-f2v3-px9w.