(0Day) Open Robotics ROS 2 sros2 load_policy XML External Entity Processing Information Disclosure Vulnerability
The sros2 tool parses policy XML files without restricting external entity references, so a crafted document can make the parser fetch a URI and embed its contents into the parsed output. An attacker who gets a victim to open such a file could disclose sensitive information, and the text says this can be combined with other flaws to run code as the current user.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Open Robotics ROS 2. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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
The XML parser used for policy files was left with external entity resolution enabled, so entity references in the document are followed and their contents substituted.
Impact
A victim opening a malicious policy file could have sensitive local information disclosed, and the text claims this may be chained with other vulnerabilities to execute code as the current user.
What the attacker needed
Victim opens a malicious policy file or visits a malicious…
The fix
The text gives no fix; the only mitigation offered is to restrict interaction with the product.
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 programs read XML, a text format for structured data, and older XML parsers can be told to fetch another file or web address and paste its contents into the document. Here the tool that handles security policy files for ROS 2, a robotics framework, did not switch that feature off. So a booby-trapped policy file could pull in files the victim can read and show them to whoever made the file.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.