Authenticated OS command execution via malicious XSLT
Published Sep 14, 2021 · Updated Aug 4, 2024
XSLT injection in SAP NetWeaver XML Forms 7.10, 7.11, 7.30, 7.31, 7.40, and 7.50 allows remote authenticated users to execute OS commands. The com.sapportals.wcm.repository.filter XSLT engine accepts an attacker-owned stylesheet containing script directives and passes its OS commands for execution. Membership in the Authenticated Users and Everyone groups, with no assigned role, is sufficient to run commands as the SAP administrator OS account and fully compromise the host.
Summary
What happened
XSLT injection in SAP NetWeaver XML Forms 7.10, 7.11, 7.30, 7.31, 7.40, and 7.50 allows remote authenticated users to execute OS commands. The com.sapportals.wcm.repository.filter XSLT engine accepts an attacker-owned stylesheet containing script directives and passes its OS commands for execution. Membership in the Authenticated Users and Everyone groups, with no assigned role, is sufficient to run commands as the SAP administrator OS account and fully compromise the host.
The record
- CVE
- CVE-2021-37531
- Published
- Sep 14, 2021
- Updated
- Aug 4, 2024
- Vendor
- SAP SE
- Product
- SAP NetWeaver Knowledge Management XML Forms
- Classifications
- CWE-78, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 14, 2021CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 7.10
- Affected versionversion=< 7.11
- Affected versionversion=< 7.30
- Affected versionversion=< 7.31
- Affected versionversion=< 7.40
- Affected versionversion=< 7.50
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo