exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

SAP Host Control Local Privilege Escalation

SAP Host Control Local Privilege Escalation
Posted Apr 5, 2021
Site onapsis.com

A malicious authenticated attacker, with privileges of SAP SMD Agent access, can exploit certain SAP Host Control functions due to missing input checking, in order to escalate its privileges and execute commands as root/system user. SAPHOSTAGENT versions 7.21 SP045 and lower are affected.

tags | advisory, root
advisories | CVE-2020-6234
SHA-256 | 142744fe9b0c3f1be50152d98aa9e05c2d39162094e44f0b5019958cd1b69d8c

SAP Host Control Local Privilege Escalation

Change Mirror Download
# Onapsis Security Advisory 2021-0002: [CVE-2020-6234] - SAP Multiple root
LPE through SAP Host Control

## Impact on Business

A malicious authenticated attacker, with privileges of SAP SMD Agent
access, can exploit
certain SAP Host Control functions due to missing input checking, in order
to escalate its
privileges and execute commands as root/system user.

## Advisory Information

- Security Advisory ID: ONAPSIS-2021-0002
- Vulnerability Submission ID: 802, 803, 804
- Researcher(s): Pablo Artuso, Yvan Genuer

## Vulnerability Information

- Vendor: SAP
- Affected Components:
- SAPHOSTAGENT 7.21 SP045 and lower

(Check SAP Note 2902645 for detailed information on affected releases)
- Vulnerability Class: [CWE-78] Improper Neutralization of Special Elements
in an OS Command
- CVSS v3 score: 7.2 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H)
- Risk Level: High
- Assigned CVE: CVE-2020-6234
- Vendor patch Information: SAP Security NOTE 2902645

## Affected Components Description

The SAP Host Agent is an agent which allows controlling and monitoring SAP
and non-SAP instances.

## Vulnerability Details

Some processes part of the SAP Host Agent run as root. This product is
usually installed
automatically when a new SAP system is installed. In order to expose its
functionalities,
the SAP Host Agent provides a SOAP interface, on ports 1128 or 1129 (TLS).
Every function exposed by this service requires high privileges.

If an attacker gets privileges of SAP SMD Agent OS user, it will be able to
interact with
the Host Agents’ exposed SOAP interface, allowing them to execute any
functionality. Because
of a lack of sanitization of certain parameters, several exposed functions
were vulnerable
to OS command injection. As some of these functions are executed with
root/system privileges,
it is possible to perform a local privilege escalation from SAP SMD Agent
user to root/system.

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

The patches can be downloaded from
https://service.sap.com/sap/support/notes/2902645.

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

- 12/09/2019 - Onapsis provides details to SAP
- 01/12/2020 - SAP provides update: "Vulnerability in progress".
- 02/10/2020 - SAP provides update: "Vulnerability in progress".
- 03/09/2020 - SAP Provides update: "Vulnerability In progress".
- 04/13/2020 - SAP releases SAP Security note addressing the issue.

## References

- Onapsis blogpost:
https://onapsis.com/es/blog/sap-security-notes-april-2020
- Black Hat 2020 presentation (white paper, slides and video):
https://www.blackhat.com/us-20/briefings/schedule/#an-unauthenticated-journey-to-root-pwning-your-companys-enterprise-software-servers-19964
- CVE Mitre: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6234
- Vendor Patch: https://launchpad.support.sap.com/#/notes/2902645

## 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.

Onapsis is headquartered in Boston, MA, with offices in Heidelberg,
Germany and Buenos Aires, Argentina. We proudly serve more than 300
of the world’s leading brands, including 20% of the Fortune 100, 6
of the top 10 automotive companies, 5 of the top 10 chemical companies,
4 of the top 10 technology companies and 3 of the top 10 oil and gas
companies.

The Onapsis Platform is powered by the Onapsis Research Labs,
the team responsible for the discovery and mitigation of more than
800 zero-day vulnerabilities in mission-critical applications.
The reach of our threat research and platform is broadened through
leading consulting and audit firms such as Accenture, Deloitte, IBM,
PwC and Verizon—making Onapsis solutions the standard in helping
organizations protect their cloud, hybrid and on-premises mission-critical
information and processes.

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

--
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
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 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