SAP Netweaver JAVA – Log viewer injection

Impact On Business

An unauthenticated attacker can use the login form to create additional information entries in SAP Log Viewer leading to obscure actions, complicate the log analysis as well as could break some automated log analyser tools.

Vulnerability Details

It is possible to inject “NewLine” characters in the Log Viewer application in SAP Netweaver JAVA. Attackers can craft a particular username in the login form to forge additional lines in the same log entry.

Solution

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

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

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

  • 02/01/2023: Onapsis sends details to SAP
  • 02/01/2023: SAP acknowledges the report
  • 07/11/2023: SAP releases SAP Note fixing the issue

References

Back to Advisories

Advisory Information

  • Public Release Date: 08/18/25
  • Security Advisory ID: ONAPSIS-2024-0019
  • Researcher(s): Yvan Genuer

Vulnerability Information

  • Vendor: SAP
  • Affected Components: SAP Netweaver JAVA
    • ENGINEAPI 7.50
    • J2EE ENGINE SERVERCORE 7.50
    • J2EE ENGINE APPLICATIONS 7.50
      (Check SAP Note 3324732 for detailed information on affected releases)
  • Vulnerability Class:
  • CVSS v3 score: 5.3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Risk Level: Medium
  • Assigned CVE: CVE-2023-31405
  • Vendor patch Information: SAP Security NOTE 3324732

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