[Onapsis Security Advisory 2013-005] SAP CCMS Agent Code Injection

From: Onapsis Research Labs <research@onapsis.com>
To: bugtraq@securityfocus.com
Subject: [Onapsis Security Advisory 2013-005] SAP CCMS Agent Code Injection

Onapsis Security Advisory 2013-005: SAP CCMS Agent Code Injection

This advisory can be downloaded in PDF format from http://www.onapsis.com/.
By downloading this advisory from the Onapsis Resource Center, you will gain access to beforehand information on
upcoming advisories, presentations and new research projects from the Onapsis Research Labs, as well asexclusive access
to special promotions for upcoming trainings and conferences.

1. Impact on Business

By exploiting this vulnerability, a remote unauthenticated attacker might be able to   access or modify all the business
information processed by the ERP system.

This would result in the total compromise of the SAP infrastructure.

 Risk Level: High

2. Advisory Information

-- Public Release Date: 2013-02-21

-- Subscriber Notification Date: 2013-02-21

-- Last Revised: 2013-02-21

-- Security Advisory ID: ONAPSIS-2013-005

-- Onapsis SVS ID: N/A

-- Researcher: Juan Perez-Etchegoyen

-- Initial Base CVSS v2:  7.5 (AV:N/AC:L/AU:N/C:P/I:P/A:P)

3. Vulnerability Information

-- Vendor: SAP

-- Affected Components:

   * SAP CCMS Agent
   (Check SAP Note 1758450 for detailed information on affected releases)

-- Vulnerability Class: Command Injection

-- Remotely Exploitable: Yes

-- Locally Exploitable: No

-- Authentication Required: No

-- Original Advisory: http://www.onapsis.com/resources/get.php?resid=adv_onapsis-2013-005

4. Affected Components Description

The monitoring architecture provides an infrastructure for monitoring your IT environment and
its components. Monitoring data is stored in the shared memory of every server with a running SAP instance or a running
Read and write access from the central monitoring system is possible in two different ways:
Using a defined ABAP interface, in the case of an SAP instance
Using the CCMS agent, in the case of any server on which the agent is installed and active CCMS agents are independent
processes with an interface through RFC to a central monitoring system and an interface to the shared memory. \u201d[1].

[1] http://scn.sap.com/docs/DOC-15914

5. Vulnerability Details

The CCMS agent is built as an RFC external server, exposing several RFC functions. One of this functions allows a remote
unauthenticated user to execute arbitrary commands which are executed with SIDADM privileges (the highest possible in
the SAP world).

Abusing of this RFC function, a remote unauthenticated attacker would be able to compromise the SAP systems that are
monitored by a CEN system (Central Monitoring System).

Technical details about this issue are not disclosed at this moment with the purpose of providing enough time to
affected customers to patch their systems and protect against the exploitation of the described vulnerability.

6. Solution

SAP has released SAP Note 1758450 which provide patched versions of the affected components.
The patches can be downloaded from https://service.sap.com/sap/support/notes/1758450.

Onapsis strongly recommends SAP customers to download the related security fixes and apply them to the affected
components in order to reduce business risks.

7. Report Timeline

2012-04-17: SAP confirms having the information of vulnerability.
2012-11-13: SAP releases security patches.
2013-02-21: Onapsis notifies availability of security advisory to security mailing lists.

About Onapsis Research Labs

Onapsis is continuously investing resources in the research of the security of business critical systems and applications.

With that objective in mind, a special unit ? the Onapsis Research Labs ? has been developed since the creation of the
company. The experts involved in this special team lead the public research trends in this matter, having discovered and
published many of the public security vulnerabilities in these platforms.

The outcome of this advanced and cutting-edge research is continuously provided to the Onapsis Consulting and
Development teams, improving the quality of our solutions and enabling our customers to be protected from the latest
risks to their critical business information.

Furthermore, the results of this research projects are usually shared with the general security and professional
community, encouraging the sharing of information and increasing the common knowledge in this field.

About Onapsis

Onapsis is the leading provider of solutions for the security of ERP systems and business-critical applications. Through
different innovative products and services, Onapsis helps its global customers to effectively increase the security
level of their core business platforms, protecting their information and decreasing financial fraud risks.

Onapsis is built upon a team of world-renowned experts in the SAP security field, with several years of experience in
the assessment and protection of critical platforms in world-wide customers, such as Fortune-100 companies and
governmental entities.

Our star product, Onapsis X1, enables our customers to perform automated Security & Compliance Audits, Vulnerability
Assessments and Penetration Tests over their SAP platform, helping them enforce compliance requirements, decrease
financial fraud risks an reduce audit costs drastically.

Some of our featured services include SAP Penetration Testing, SAP Gateway & RFC security, SAP Enterprise Portal
security assessment, Security Support for SAP Implementations and Upgrades, SAP System Hardening and SAP Technical
Security Audits.

For further information about our solutions, please contact us at info@onapsis.com and visit our website at www.onapsis.com.

Copyright (c) 2013 Onapsis Inc. All rights reserved.
This advisory may be distributed as long as its distribution is free-of-charge and proper credit is given.

Copyright © 1995-2020 LinuxRocket.net. All rights reserved.