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.
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.
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
- Send an authenticated POST request to the reporting endpoint with an XML body that defines an external entity pointing to a local file.
- Include the entity reference in a field such as FunctionTask.
- 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.