Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

MDX XML for Analysis – known security holes, SAP security note 1881391

SAP Note 1881391
SAP Security Note
High priority

SAP security note 1881391, "MDX: XML for Analysis – known security holes", was released on July 9, 2013. Below are the symptom, SAP recommended solution and the affected software components.

ComponentSAP Business Warehouse > Business Explorer > OLAP Technology > MDX, OLAP-BAPI, OLE DB for OLAP
PriorityCorrection with high priority
TypeSAP Security Note
StatusReleased for Customer
Released onJuly 9, 2013

Description

Symptom

SAP BW provides multiple interfaces for data access using Multidimensional Expressions (MDX):

  • OLAP BAPI (Business Application Programming Interface)
  • OLE DB for OLAP
  • XML for Analysis (XMLA)

While most front-end tools utilize OLAP BAPIs, access via OLE DB for OLAP is less common, and XMLA usage is rare. Security vulnerabilities exist in the XMLA interface if the relevant security notes are not implemented, potentially allowing unauthorized access and various attacks.

Solution

  • Apply Security Notes 1530454 and 1597066: These notes address and close the known security vulnerabilities.
  • Deactivate XMLA Interface: If the XMLA interface is not in use, it is recommended to deactivate it to prevent potential attacks.
    • Service Path: /default_host/sap/bw/xml/soap/
    • Service Name: xmla
    • Transaction Code: SICF

Reason and prerequisites

When the XMLA interface is invoked, the system processes and parses XML documents, which can be exploited through:

  • MDX Security Tag Injection
  • XML External Entity (XXE) attacks
  • XML Bombs
  • XSLT Code Injection

These vulnerabilities may be exploited if the XMLA service is activated in the Internet Communication Framework (transaction SICF), even if no applications currently utilize this interface. Products that can interact with the XMLA interface include:

  • Microsoft Reporting Services (see SAP Note 1868077)
  • Oracle Business Intelligence Enterprise Edition

CVSS

Score 4.0 Vector: AV:N/AC:L/AU:S/C:P/I:N/A:N

References

Affected components

  • SAP_BW: Versions 30A to 30B, 310, 350, 700 to 702, 711 to 730, 731, 740
  • SAP_BW_VIRTUAL_COMP: Versions 701, 711

Full note on SAP: SAP Support Launchpad note 1881391

Detailed exploitation and proof-of-concept material for this note is maintained in the RedRays Security Platform. For access, contact [email protected].

Explore More