Onapsis Security Advisory 2013-006: SAP SMD 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.
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
-- Public Release Date: 2013-02-21
-- Subscriber Notification Date: 2013-02-21
-- Last Revised: 2013-02-21
-- Security Advisory ID: ONAPSIS-2013-006
-- 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)
-- Vendor: SAP
-- Affected Components:
-- Vulnerability Class: Abuse of Functionality
-- Remotely Exploitable: Yes
-- Locally Exploitable: No
-- Authentication Required: No
-- Original Advisory: http://www.onapsis.com/resources/get.php?resid=adv_onapsis-2013-006
According to the vendor, “The diagnostics agent is a central component of the SAP Solution Manager system landscape” .
The SMD agent provides an interface listening and processing the P4 protocol, which is a proprietary SAP protocol. Using this interface it is possible to: Retrieve technical information such as versions and configurations Configure an installed application. Install/remove applications.
Abusing of this default unauthenticated interface, a remote attacker would be able to install an arbitrary application, achieving full compromise on the SMD agent and the SAP instances installed on the server.
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.
SAP has released SAP Note 1774568 which provide patched versions of the affected components. The patches can be downloaded from https://service.sap.com/sap/support/notes/1774568.
Onapsis strongly recommends SAP customers to download the related security fixes and apply them to the affected components in order to reduce business risks.
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.
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.
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 firstname.lastname@example.org 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.