{"id":"CVE-2020-5229","published":"2020-01-30T20:05:17Z","modified":"2024-08-04T08:22:08Z","title":"Opencast stores passwords using outdated MD5 hash algorithm","vendor":"opencast","product":"opencast","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00626,"percentile":0.50931,"provenance":"source"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"references":[{"url":"https://github.com/opencast/opencast/security/advisories/GHSA-h362-m8f2-5x7c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/opencast/opencast/commit/32bfbe5f78e214e2d589f92050228b91d704758e","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.19},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"opencast","affectedVersions":[{"vendor":"opencast","product":"opencast","versions":["< 8.1"]}],"affected":[{"ecosystem":"Maven","package":"org.opencastproject:opencast-common-jpa-impl","vulnerableRanges":["<7.6",">=8.0, <8.1"],"patched":["7.6","8.1"],"from":["GHSA-h362-m8f2-5x7c"],"provenance":"source"}],"summary":{"text":"The flaw is in the password storage of Opencast before version 8.1, where user passwords are hashed with the outdated MD5 algorithm and salted with the username rather than a random salt, so identical username and password pairs produce identical hashes. An attacker who has already gained access to the database holding these hashes could potentially recover users' passwords, with the attack being harder to carry out because it requires a prior compromise of the database, plus a further user interaction and the lower-privilege access the vector implies.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:57Z"},"euvd":{"id":"EUVD-2020-0266","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-opencast-cve-2020-5222","parents":[{"from":"CVE-2020-5222","to":"CVE-2020-5229","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["etc/security/mh_default_org.xml"],"commits":["https://github.com/opencast/opencast/commit/1a7172c95af8d542a77ae5b153e4c834dd4788a6","https://github.com/opencast/opencast/commit/32bfbe5f78e214e2d589f92050228b91d704758e"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2020-5229","to":"CVE-2020-5231","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["etc/security/mh_default_org.xml"],"commits":["https://github.com/opencast/opencast/commit/32bfbe5f78e214e2d589f92050228b91d704758e","https://github.com/opencast/opencast/commit/72fad0031d8a82c860e2bde0b27570c5042320ee"],"basis":"rarely changed file"}]}]}}