Skip to content
Info disclosure Write-up Intermediate

Openvas Credentials Hunt — Part I

OpenVAS allows downloading a Windows executable package for a stored credential, and that package contains the plaintext password. An attacker with access to the OpenVAS web interface could download the package and recover the credential's password, gaining access to scanned assets.

medium.com

Published on medium.com

A couple of weeks ago I helped a friend with a penetration test for a company that used the OpenVAS vulnerability scanner (https://www.openvas.org/). OpenVAS, as most vulnerability scanners, uses pre-configured credentials in order to perform its scans.

Daniel Santos, on medium.com

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 credential export feature embeds the plaintext password in the downloadable executable, and the interface does not restrict who can download it.

Impact

An attacker with access to the OpenVAS interface could recover credentials and use them to access additional systems during a penetration test.

What the attacker needed

Access to the OpenVAS web interface; a stored User+Password credential

How it was found

  1. Obtain access to the OpenVAS web interface.
  2. Go to the credentials section and find a User+Password credential.
  3. Download the EXE package for that credential.
  4. Run the executable and observe the commands it executes, which reveal the 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.

OpenVAS is a tool that scans computers for security weaknesses, and it needs login details for those computers. The tool lets you download a small Windows program that creates a user account with those same login details. That program has to contain the password in a form you can read, so anyone who can download it can find out the password.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.