Discovering and Exploiting a XML External Entity (XXE) Vulnerability in a Public Bug Bounty Program
An XML endpoint echoed back the value of a parameter, and the author suspected it could be abused for XML External Entity injection. The text stops before showing any actual exploitation or impact.
Welcome to another exciting journey in my bug bounty adventures! It’s been a remarkable year of self-discovery and learning, without any formal technology or IT training.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the XML parser accepts user-supplied XML and resolves external entities, and the application reflects the parsed value back in the response.
Impact
The text does not demonstrate any actual impact; it only suggests that XXE may be possible.
What the attacker needed
Access to the activate endpoint
How it was found
- Find the activate endpoint that accepts XML.
- Send an XML body with the platform parameter set to a test value.
- Observe that the response echoes the platform value.
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 write-up has not been written yet. The Original tab links to the source.
XML is a data format that can include special references called entities. Some parsers will fetch external files or URLs when they see certain entity definitions, which can leak server files or make the server contact other systems. This write-up only shows that one field was reflected back, not that the attack actually worked.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.