5.9medium
WeGIA: Use of Weak Password Hashing Algorithm (SHA-256, no salt) in html/login.php
- Severity
- 5.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| LabRedesCefetRJ WeGIA | < 3.7.3 | CVE List |
Classification
What each source says
CVE List
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.
NVD (es)
WeGIA es un gestor web para instituciones benéficas. En versiones anteriores a la 3.7.3, cuando un usuario inicia sesión, html/login.php aplica hash a la contraseña enviada utilizando la función hash() de PHP con el algoritmo SHA-256 y sin salt antes de compararla con el valor almacenado. El flujo de cambio de contraseña en controle/FuncionarioControle.php sigue el mismo patrón. SHA-256 es un hash criptográfico de propósito general diseñado para la velocidad, no para el almacenamiento de contraseñas. Sin un salt, las contraseñas idénticas producen digests idénticos, haciendo que toda la base de datos de hashes sea vulnerable a una única búsqueda en una tabla arcoíris precalculada. Esta vulnerabilidad se corrige en la 3.7.3.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45027 changed 2026-05-27 | CVE Terms of Use |
| NVD | CVE-2026-45027 changed 2026-10-26 | Public domain |