Skip to content
RCE Write-up Advanced

Solarwinds Web Help Desk: When the Helpdesk is too Helpful

Hardcoded credentials in Solarwinds Web Help Desk allowed access to a Spring controller that executed arbitrary Hibernate Query Language (HQL) queries. An attacker could read password hashes and modify database contents.

assetnote Follow

Published on blog.assetnote.io

The advisory for this issue can be found here.

Assetnote Security Research Team (@assetnote), on blog.assetnote.io

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 hardcoded credentials and an endpoint that directly executes user-supplied HQL without validation.

Impact

An attacker could read password hashes and insert, update, or delete database records, but only if the application is behind a reverse proxy on the same host so that requests appear to come from localhost.

What the attacker needed

Application behind reverse proxy on same host; knowledge of hardcoded credentials

The fix

The vulnerability was fixed in Web Help Desk 12.7.7 Hotfix 1.

How it was found

  1. Find hardcoded credentials in the source code.
  2. Use the credentials to authenticate to the /assetReport/ endpoint.
  3. Send a POST request to /helpdesk/assetReport/rawHQL with an HQL query in the body.
  4. Set Content-Type to text/plain to avoid URL encoding issues.

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.

The software had a secret username and password built into its code. These let someone reach a special web address that would run any database query they typed in. That meant they could steal user passwords and change data.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from SolarWinds

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.