Skip to content
Access control Advisory Intermediate CVE-2022-40772

ManageEngine ServiceDesk Plus MSP generateSQLReport Improper Input Validation Privilege Escalation Vulnerability

The generateSQLReport function in ManageEngine ServiceDesk Plus MSP fails to properly validate user-supplied data, allowing an authenticated remote attacker to escalate privileges and access resources normally protected from them.

Piotr Bazydło Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to escalate privileges on affected installations of ManageEngine ServiceDesk Plus MSP. 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

Root cause

Likely, the generateSQLReport function does not properly validate user-supplied input before using it, allowing an authenticated user to influence privileged operations.

Impact

An authenticated remote attacker could escalate privileges and access resources normally protected from them.

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 a privilege escalation bug in a helpdesk product. A logged-in user can send crafted input to a reporting function, and because the input is not checked properly, they can gain access to things they should not be able to reach. The vendor has released a fix.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.