ManageEngine OpManager Add UCS Device blind XXE vulnerability
A blind XML External Entity (XXE) vulnerability exists in the Add UCS Device functionality of ManageEngine OpManager 12.6.168. An attacker who can control the response from a device added via this feature can cause the server to make arbitrary HTTP requests, leading to SSRF.
Originally disclosed on Cisco Talos
A blind XML External Entity (XXE) vulnerability exists in the Add UCS Device functionality of ManageEngine OpManager 12.6.168. A specially crafted XML file can lead to SSRF.
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 (DocumentBuilder) is used with default settings that allow external entities, and the XML comes from an attacker-controllable source.
Impact
An attacker could cause the server to make arbitrary HTTP requests to internal systems, potentially leading to SSRF; the CVSS score indicates low confidentiality, integrity, and availability impact.
What the attacker needed
Attacker controls a device added via Add UCS; or convinces a user to add such a device
The fix
The XML parser should be configured to disallow external entities (e.g., by disabling DTDs or external entity resolution); the vendor released a patch on 2022-12-30.
How it was found
- Trigger the Add UCS Device action or convince an OpManager user to add a device under attacker control.
- The backend sends an HTTP request to the device and expects an XML response.
- The attacker's device returns a crafted XML response containing an external entity definition.
- The vulnerable backend parses the XML with default settings, causing it to make additional HTTP requests to an attacker-specified internal address.
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.
XML External Entity (XXE) is a flaw where an application parses XML input that can include special instructions to fetch external resources. Here, the server trusts XML from a device it contacts, so an attacker controlling that device can make the server send requests to internal systems. This is called blind because the attacker does not see the response directly, but can still cause server-side request forgery (SSRF).
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.