CVE-2020-5229

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
ProductApereo Opencast
PublishedJan 30, 2020
First seenJan 30, 2020
Weakness typeCWE-327CWE-327

How to fix

Update
  • apereo opencast8.1 or later
  • org.opencastproject:opencast-common-jpa-impl7.6, 8.1 or later

Affected products

ProductAffected versionsFixed in
apereo opencastv < 8.18.1
org.opencastproject:opencast-common-jpa-implMavenv < 7.6, 8.0 ≤ v < 8.17.6, 8.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.