Skip to content
Access control Write-up Intermediate

WhatsUp Gold SetAdminPassword Privilege Escalation (CVE-2024-5009)

The SetAdminPassword endpoint in WhatsUp Gold only checks whether the request comes from a local address, but this check can be bypassed, allowing an unauthenticated attacker to overwrite the administrator password and obtain a valid session cookie.

Sina Kheirkhah Follow

Published on summoning.team

Well this writeup is already quite easy, I don’t think it needs a TLDR, I noticed this bug exist in 4 minutes and then it took me 2 more minuts to test it, however, it doesn’t matter, a bug is a bug and I like technical details no matter how complex or how easy it is.

Sina Kheirkhah (@SinSinology), on summoning.team

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the endpoint relies on the client-supplied REMOTE_ADDR value to decide if the request is local, which can be spoofed or bypassed.

What the attacker needed

Network access to the WhatsUp Gold instance

How it was found

  1. Send a request to the SetAdminPassword endpoint with a new password.
  2. The server checks if the request is local using the REMOTE_ADDR value.
  3. If the check passes, the admin password is overwritten and a session cookie is returned.
  4. Log in with the new admin password.

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 write-up has not been written yet. The Original tab links to the source.

WhatsUp Gold is software that stores credentials for many machines. A function meant to set the admin password was supposed to be usable only from the same computer, but the check could be fooled. An attacker could change the admin password without logging in and then log in as admin.

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 Sina Kheirkhah

View all

17 more disclosed reports, best first.

More from Progress (WhatsUp Gold)

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.