what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

SAP XMII Remote Code Execution

SAP XMII Remote Code Execution
Posted Jun 15, 2021
Authored by Nicolas Raus | Site onapsis.com

By abusing a code injection vulnerability in SAP MII, an authenticated user with SAP XMII developer privileges could execute code (including OS commands) on the server. Versions affected include XMII 15.1 lower than SP006 PL 000062, XMII 15.2 lower than SP003 PL 000038, XMII 15.3 lower than SP001 PL 000022, and XMII 15.4 lower than SP001 PL 000007.

tags | advisory
advisories | CVE-2021-21480
SHA-256 | 69744f870d334f7a6c685c786466810e8972c0a978bc2ed72164e0f20f04a019

SAP XMII Remote Code Execution

Change Mirror Download
# Onapsis Security Advisory 2021-0012: SAP Manufacturing Integration
and Intelligence lack of server side validations leads to RCE

## Impact on Business

By abusing a Code Injection in SAP MII, an authenticated user with SAP
XMII Developer
privileges could execute code (including OS commands) on the server.
Thus, they would
be able to do everything a SAP Administrator is able to do. Some
possible actions are:

* Access to the SAP databases and read/modify/erase any record in any table
* Use these servers to pivot to other servers
* Place malware to later infect end users
* Modify network configurations and potentially affect internal networks

## Advisory Information

* Public Release Date: 06/14/2021
* Security Advisory ID: ONAPSIS-2021-0012
* Researcher(s): Nicolas Raus

## Vulnerability Information

* Vendor: SAP
* Affected Components:
* XMII 15.1 lower than SP006 PL 000062
* XMII 15.2 lower than SP003 PL 000038
* XMII 15.3 lower than SP001 PL 000022
* XMII 15.4 lower than SP001 PL 000007

(Check SAP Note #3022622 for detailed information on affected releases)

* Vulnerability Class: [CWE-94] Improper Control of Generation of Code
('Code Injection')
* CVSS v3 score: 9.9 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H)
* Risk Level: Critical
* Assigned CVE: CVE-2021-21480
* Vendor patch Information: SAP Security Note #3022622

## Affected Components Description

SAP MII is an SAP NetWeaver AS Java based platform that enables
real-time production monitoring
and provides extensive data analysis tools. It functions as a data hub
between SAP ERP and
operational applications such as manufacturing execution systems
(MES). The software collects
data from production machinery, delivering real-time insights into its
performance and efficiency.

Affected components:

* XMII 15.1 lower than SP006 PL 000062
* XMII 15.2 lower than SP003 PL 000038
* XMII 15.3 lower than SP001 PL 000022
* XMII 15.4 lower than SP001 PL 000007

(Check SAP Note #3022622 for detailed information on affected releases)

## Vulnerability Details

An integral part of SAP MII is the Self-Service Composition
Environment (SSCE) that can
be used to design dashboards by simple drag and drop. This dashboard
creation functionality
applies some client side validations which are then not performed on
the back-end, this
situation could allow an attacker to craft a malicious request with
executable code which
will be stored on the server. When such an infected dashboard is
opened in production by a
user having a minimum of authorizations, the malicious content gets
executed, leading to
remote code execution in the server.

## Solution

SAP has released SAP Note #3022622 which provide patched versions of the
affected components.

The patches can be downloaded from
<https://launchpad.support.sap.com/#/notes/3022622>.

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-2021: Onapsis sends details to SAP
* 02-04-2021: SAP provides internal ID
* 02-08-2021: SAP provides update: "In progress"
* 03-08-2021: SAP provides update: Vulnerability fixed SAP Security
note released: 3022622

## References

* Onapsis Blog Post: https://onapsis.com/blog/sap-security-notes-march-2021
* CVE Mitre: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21480
* Vendor Patch: https://launchpad.support.sap.com/#/notes/3022622

## About Onapsis Research Labs

Onapsis Research Labs provides the industry analysis of key security
issues that impact business-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>

## About Onapsis, Inc

Onapsis protects the mission-critical applications that run the global economy,
from the core to the cloud. The Onapsis Platform uniquely delivers actionable
insight, secure change, automated governance and continuous monitoring
for critical
systems—ERP, CRM, PLM, HCM, SCM and BI applications—from leading
vendors such as SAP,
Oracle, Salesforce and others, while keeping them protected and compliant.

For more information, connect with us on Twitter or LinkedIn, or visit us at
<https://www.onapsis.com>.


## License
This advisory is licensed under a [Creative Commons 4.0 BY-ND
International License](https://creativecommons.org/licenses/by-nd/4.0/legalcode)

--
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended recipient
you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly
prohibited.


Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    0 Files
  • 9
    Nov 9th
    0 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close