Unauthenticated blind SSRF in SAPPingHTTPCollector
Impact On Business
An anonymous attacker with access to the P4 port of the Java instance of a Solution Manager, could force the Diagnostic Agent to perform arbitrary server side requests. As a consequence, internal infrastructure could be affected leveraging the network position.
Affected Components Description
Tested on following versions:
Java Kernel versions:
- 7.50.3301.472568.20220902101413
- 7.50.3301.467525.20210601093523
- 7.50.3301.407179.20200416085516
SERVERCORE/CORE-TOOLS/J2EE-FRMW components versions:
- 1000.7.50.24.7.20221009183400
- 1000.7.50.22.0.20210804111800
- 1000.7.50.2.0.20160125191600
SAP Solution Manager Diagnostic Agent version:
- SMDAgent 7.20.11.5.20201030041628
- SMDAgent 7.20.13.0.20210728040558
Vulnerability Details
The SAP SMD Collector Simulator service can be accessed through P4 without prior authentication. Using the collector SAPPingHTTPCollector, an attacker can perform SSRF attacks via arbitrary header injection.
Even though the vulnerable service resides inside the Solution Manager, the final server side request is originated from the host where the Diagnostic Agent is running.
Solution
SAP has released SAP Note 3348145 which provides patched versions of the affected components.
The patches can be downloaded from https://me.sap.com/notes/3348145.
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
- 10/28/2022: Onapsis reports vulnerability to SAP
- 10/29/2022: SAP acknowledges the report
- 07/11/2023: SAP issues the patch.
References
- Onapsis blogpost: https://onapsis.com/blog/sap-security-patch-day-july-2023/
- CVE Mitre: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-36921
- Vendor Patch: https://me.sap.com/notes/3348145
Advisory Information
- Public Release Date: 08/13/2024
- Security Advisory ID: ONAPSIS-2024-0002
- Researcher(s): Pablo Artuso & Yvan Genuer
Vulnerability Information
- Vendor: SAP
- Affected Components:
- SAP Java NetWeaver version 7.50
- SAP Solution Manager DA 7.20
(Check SAP Note 3348145 for detailed information on affected releases)
- Vulnerability Class: CWE-918: Server-Side Request Forgery (SSRF)
- CVSS v3 score: 7.2 (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L)
- Risk Level: High
- Assigned CVE: CVE-2023-36921
- Vendor patch Information: SAP Security NOTE 3348145
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