Skip to content
Info disclosure Disclosed report Beginner CVE-2022-2921

Exposure of password hashes in notrinos/notrinos-erp

An AP officer account could download a database backup that contained the system administrator's password hash. Because the hash was MD5, an attacker could crack it to recover the admin password.

notrinos/notrinoserp

Originally disclosed on huntr

The AP officers account is authorized to Backup and Restore the Database, Due to this he/she can download the backup and see the password hash of the System Administrator account, The weak hash (MD5) of the password can be easily cracked and get the admin password.

From the GitHub Advisory Database (GHSA-44w5-q257-8428, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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 backup feature exposed the full database, including password hashes, to a lower-privileged role, and passwords were stored with a weak, fast hashing algorithm (MD5).

Impact

An attacker with an AP officer account could obtain the administrator password and take over the system administrator account.

What the attacker needed

An AP officer account

How it was found

  1. Log in as an AP officer account.
  2. Use the Backup and Restore function to download the database backup.
  3. Open the backup and find the password hash for the System Administrator account.
  4. Crack the MD5 hash to recover the 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 report has not been written yet. The Original tab links to the source.

A backup file of the database included the scrambled version of the admin's password (called a hash). The scrambling method (MD5) is old and fast, so someone can guess passwords offline until they find the one that matches. That gives them the admin password.

What is Info disclosure?

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

More from notrinos/notrinoserp

View all

The newest disclosed reports for this program.

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.