CVE-2026-45027
JSON

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 packageVersionsReported by
LabRedesCefetRJ WeGIA< 3.7.3CVE List

Classification

CWE-759CWE-916

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2026-45027 changed 2026-05-27CVE Terms of Use
NVDCVE-2026-45027 changed 2026-10-26Public domain