Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-h362-m8f2-5x7c

Опубликовано: 30 янв. 2020
Источник: github
Github: Прошло ревью
CVSS3: 7.7

Описание

Password Hashing: Do not use MD5

Impact

User passwords are stored in the database using the rather outdated and cryptographically insecure MD5 hash algorithm. Furthermore, the hashes are salted using the username instead of a random salt, causing hashes for users with the same username and password to collide which is problematic especially for popular users like the default admin user.

This essentially means that for an attacker, it might be feasible to reconstruct a user's password given access to these hashes.

Note that attackers needing access to the hashes means that they must gain access to the database in which these are stored first to be able to start cracking the passwords.

Patches

The problem is addressed in Opencast 8.1 which now uses the modern and much stronger bcrypt password hashing algorithm for storing passwords. Note, that old hashes remain MD5 until the password is updated.

For a list of users whose password hashes are stored using MD5, take a look at the /user-utils/users/md5.json REST endpoint.

Workarounds

There is no workaround.

References

For more information

If you have any questions or comments about this advisory:

Пакеты

Наименование

org.opencastproject:opencast-common-jpa-impl

maven
Затронутые версииВерсия исправления

< 7.6

7.6

Наименование

org.opencastproject:opencast-common-jpa-impl

maven
Затронутые версииВерсия исправления

>= 8.0, < 8.1

8.1

EPSS

Процентиль: 36%
0.00153
Низкий

7.7 High

CVSS3

Дефекты

CWE-327

Связанные уязвимости

CVSS3: 7.7
nvd
около 6 лет назад

Opencast before 8.1 stores passwords using the rather outdated and cryptographically insecure MD5 hash algorithm. Furthermore, the hashes are salted using the username instead of a random salt, causing hashes for users with the same username and password to collide which is problematic especially for popular users like the default `admin` user. This essentially means that for an attacker, it might be feasible to reconstruct a user's password given access to these hashes. Note that attackers needing access to the hashes means that they must gain access to the database in which these are stored first to be able to start cracking the passwords. The problem is addressed in Opencast 8.1 which now uses the modern and much stronger bcrypt password hashing algorithm for storing passwords. Note, that old hashes remain MD5 until the password is updated. For a list of users whose password hashes are stored using MD5, take a look at the `/user-utils/users/md5.json` REST endpoint.

EPSS

Процентиль: 36%
0.00153
Низкий

7.7 High

CVSS3

Дефекты

CWE-327