Skip to content
Info disclosure Write-up Beginner

MicroWeber Internals and Script Customization

A leftover PHP script in MicroWeber's users module dumped the entire users database, including admin password hashes and emails, when invoked through the modules endpoint. An unauthenticated attacker could send a crafted POST request to retrieve all user records and then crack the bcrypt hashes to obtain administrator passwords.

rhinosecuritylabs.com

Published on rhinosecuritylabs.com

MicroWeber is an open-source Content Management System (CMS) written in PHP. It allows web administrators to easily build a website by dragging and dropping components where they want them to be.

Hunter Stanton, on rhinosecuritylabs.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

A leftover development script that dumped the users table was still reachable through the module invocation endpoint without authentication.

Impact

An unauthenticated attacker could obtain all user records, including administrator password hashes and emails, and could crack the bcrypt hashes to recover administrator passwords.

What the attacker needed

None

The fix

The vulnerable script was removed from the source code, and the fix was released in MicroWeber 1.1.20.

How it was found

  1. Send a POST request to the /modules/ endpoint.
  2. Include the module parameter pointing to the users controller script.
  3. Read the entire users database from the response.

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.

MicroWeber is a website-building tool written in PHP. A forgotten file in its users module printed the whole list of registered users, including secret password representations, to anyone who asked for it. Because no login was needed, anyone could fetch that list and then try to guess the real passwords offline.

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.