WeGIA to menedżer internetowy dla instytucji charytatywnych. W wersjach przed 3.7.3 podczas logowania użytkownika plik html/login.php haszuje przesłane hasło funkcją hash() PHP z algorytmem SHA-256 bez soli, a następnie porównuje je z wartością przechowywaną. Przepływ zmiany hasła w controle/FuncionarioControle.php stosuje ten sam wzorzec. SHA-256 to uniwersalny skrót kryptograficzny stworzony na szybkość, a nie do przechowywania haseł. Bez soli identyczne hasła dają identyczne skróty, narażając całą bazę haszów na atak za pomocą jednej precomputed rainbow table. Podatność naprawiono w wersji 3.7.3.
▸ Pokaż oryginał (EN)
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N