CVE-2026-45027

WeGIA: Use of Weak Password Hashing Algorithm (SHA-256, no salt) in html/login.php

State
Published
Severity
5.9 Medium
Published
May 27, 2026
Updated
May 27, 2026
Reserved
May 8, 2026

Read the record on cve.org

Description

WeGIA is a web manager for charitable institutions. In versions prior to 3.7.3, when a user logs in, html/login.php hashes the submitted password using PHP's hash() function with the SHA-256 algorithm and no salt before comparing it to the stored value. The password change flow in controle/FuncionarioControle.php follows the same pattern. SHA-256 is a general-purpose cryptographic hash built for speed, not password storage. Without a salt, identical passwords produce identical digests, making the entire hash database vulnerable to a single precomputed rainbow table lookup. This vulnerability is fixed in 3.7.3.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-759 Use of a One-Way Hash without a Salt
  • CWE-916 Use of Password Hash With Insufficient Computational Effort

Affected Products

ProductVersions
WeGIALabRedesCefetRJ
  • < 3.7.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.