Unauthenticated RCE in EventLogServiceCollector

Impact On Business

An anonymous attacker with access to the P4 port of the Java instance of a Solution Manager running on Windows OS, could execute arbitrary commands. As a consequence, despite having the possibility to fully compromise the targeted system, an attacker could leverage the network position to keep pivoting inside the internal infrastructure.

Affected Components Description

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 Diagnositc 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 EventLogServiceCollector, an attacker can execute arbitrary OS commands in the Diagnostic Agent’s host.

This exploitation only affected Windows based systems.

Solution

SAP has released SAP Note 3305369 which provides patched versions of the affected components.

The patches can be downloaded from https://me.sap.com/notes/3305369.

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
  • 04/11/2023: SAP issues the patch.

References

Back to Advisories

Advisory Information

  • Public Release Date: 08/13/2024
  • Security Advisory ID: ONAPSIS-2024-0003
  • 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 3305369 for detailed information on affected releases)

    • Vulnerability Class:
      • CWE-78: Improper Neutralization of Special Elements in an OS Command
      • CWE-306: Missing Authentication for Critical Function
    • CVSS v3 score: 10 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)
    • Risk Level: Critical
    • Assigned CVE: CVE-2023-27497
    • Vendor patch Information: SAP Security NOTE 3305369

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