CVE-2020-5229
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.
Weakness
- CWE-327: Use of a Broken or Risky Cryptographic Algorithm
Timeline
- 2020-01-30Published by the CNA20:05 UTC
- 2020-01-30GitHub advisory published (GHSA-h362-m8f2-5x7c)same day
Exploit and advisory records
GitHub advisory GHSA-h362-m8f2-5x7c, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.opencastproject:opencast-common-jpa-impl | before 7.6 | 7.6 |
| Maven org.opencastproject:opencast-common-jpa-impl | from 8.0 before 8.1 | 8.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apereo opencast | before 8.1fixed in 8.1 | 8.1 |
References
- https://github.com/opencast/opencast/commit/32bfbe5f78e214e2d589f92050228b91d704758e
- https://github.com/opencast/opencast/security/advisories/GHSA-h362-m8f2-5x7c
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-5229'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-5229'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-5229'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-5229'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).