Server-Side Request Forgery in SAP NetWeaver, ABAP Platform and SAP Host Agent
Impact On Business
A successful attack can lead to discovering internal SAP open port information that normally is not reachable.
Affected Components Description
SAP NetWeaver Application Server for ABAP provides both the runtime environment and the development environment for all ABAP programs.
The SAP Host Agent can accomplish several life-cycle tasks like : operating system monitoring, database monitoring, system instance control or upgrade preparation. Installed automatically during the installation of the new SAP system, it’s an OS independent and mandatory application.
Vulnerability Details
The webservice GetSecNetworkId exposed by the binary sapstartsrv of SAP kernel contains a simple Server Side Request Forgery (SSRF) if the <challenge> parameter is not provided during the request. It allows an unauthenticated attacker to retrieve information from the internal network by studying different error messages as well as check if the target system can reach the outside host.
Solution
SAP has released SAP Note 3194674 which provides patched versions of the affected components.
The patches can be downloaded from https://launchpad.support.sap.com/#/notes/3194674.
Onapsis strongly recommends SAP customers to download the related security fixes and apply them to the affected components in order to reduce business risks.
Report Timeline
- 01/28/2022: Onapsis sends details to SAP
- 04/12/2022: SAP Provides update: In progress
- 05/10/2022: SAP Provides update: In progress
- 06/14/2022: SAP releases SAP Note fixing the issue.
References
- Onapsis blogpost: https://onapsis.com/blog/sap-security-patch-day-may-2022-spring4shell-vulnerabi lity-has-been-patched-six-sap-applications
- CVE Mitre: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29612
- Vendor Patch: https://launchpad.support.sap.com/#/notes/3194674
Advisory Information
- Public Release Date: 07/17/25
- Security Advisory ID: ONAPSIS-2024-0009
- Researcher(s): Yvan Genuer
Vulnerability Information
- Vendor: SAP
- Affected Components:
- SAP Kernel 64 NUC 7.22 to 7.49
- SAP Kernel 64 UC 7.22 to 8.04
- SAPHOSTAGENT 7.22 Patch 55 and lower
(Check SAP Note 3194674 for detailed information on affected releases)
- Vulnerability Class: CWE-918
- CVSS v3 score: 5.0 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- Risk Level: Medium
- Assigned CVE: CVE-2022-29612
- Vendor patch Information: SAP Security NOTE 3194674
ABOUT OUR RESEARCH LABS
Onapsis Research Labs provides the industry analysis of key security issues that impact mission-critical systems and applications.
Delivering frequent and timely security and compliance advisories with associated risk levels, Onapsis Research Labs combine in-depth knowledge and experience to deliver technical and business-context with sound security judgment to the broader information security community.
Find all reported vulnerabilities at:
https://github.com/Onapsis/vulnerability_advisories
This advisory is licensed under a Creative Commons 4.0 BY-ND International License