Skip to content
XXE Advisory Intermediate CVE-2022-40771

ManageEngine ServiceDesk Plus getAsDoc XML External Entity Processing Information Disclosure Vulnerability

The getAsDoc function in ManageEngine ServiceDesk Plus improperly restricts XML External Entity (XXE) references, allowing an authenticated attacker to supply a crafted document that causes the XML parser to access a URI and embed its contents. This could lead to disclosure of sensitive information or a denial-of-service condition.

Piotr Bazydło Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of ManageEngine ServiceDesk Plus. Authentication is required to exploit this vulnerability.

Piotr Bazydlo (@chudypb) of Trend Micro Zero Day Initiative, on the Zero Day Initiative

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

Impact

An attacker could disclose sensitive information in the context of SYSTEM or cause a denial-of-service condition.

What the attacker needed

Authentication required

The fix

The vulnerability was fixed by the vendor in an update.

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 XXE (XML External Entity) vulnerability. When a program parses XML, it can be tricked into fetching data from a URL you control or from the local system. Here, an authenticated user can make the server read files or internal resources and return their contents, potentially exposing sensitive data or crashing the service.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

More by Piotr Bazydło

View all

232 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.