Skip to content
XXE Advisory Intermediate CVE-2017-16349

SAP BPC Web Application Information Disclosure Vulnerability

An XML external entity (XXE) vulnerability was found in SAP BPC's reporting endpoint, allowing an authenticated attacker to reference local files and potentially cause denial of service. The attacker could read files on the server and trigger CPU or memory exhaustion via recursive entities.

Tim Brown Follow

Originally disclosed on Cisco Talos

Medium 6.4 View original

An exploitable XML external entity vulnerability exists in the reporting functionality of SAP BPC. A specially crafted XML request can cause an XML external entity to be referenced, resulting in information disclosure and potential denial of service.

Tim Brown, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the XML parser used by the reporting endpoint did not disable external entity resolution, allowing attacker-controlled entities to be processed.

Impact

An authenticated attacker could read local files and potentially cause a denial of service through CPU or memory exhaustion.

What the attacker needed

Authenticated access to SAP BPC

How it was found

  1. Send an authenticated POST request to the reporting endpoint with an XML body that defines an external entity pointing to a local file.
  2. Include the entity reference in a field such as FunctionTask.
  3. Observe that the response differs depending on whether the referenced file exists, indicating file access.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is an XML External Entity (XXE) bug. When a web app accepts XML input, it may allow the sender to define custom 'entities' that point to local files or URLs. If the app processes these entities, an attacker can make the server read files it shouldn't, or cause a denial of service by making the XML expand massively.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

More by Tim Brown

View all

5 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.