Opencast stores passwords using outdated MD5 hash algorithm
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.opencastproject:opencast-common-jpa-implMaven | < 7.6 | 7.6 |
org.opencastproject:opencast-common-jpa-implMaven | >= 8.0, < 8.1 | 8.1 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-h362-m8f2-5x7cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-5229ghsaADVISORY
- github.com/opencast/opencast/commit/32bfbe5f78e214e2d589f92050228b91d704758eghsax_refsource_MISCWEB
- github.com/opencast/opencast/security/advisories/GHSA-h362-m8f2-5x7cghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.