CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Redhat

CVE-2024-7318
Redhat Build Of Keycloak vulnerability

A vulnerability was found in Keycloak. Expired OTP codes are still usable when using FreeOTP when the OTP token period is set to 30 seconds (default). Instead of expiring and deemed unusable around 30 seconds in, the tokens are valid for an additional 30 seconds totaling 1 minute. A one time passcode that is valid longer than its expiration time increases the attack window for malicious actors to abuse the system and compromise accounts. Additionally, it increases the attack surface because at any given time, two OTPs are valid.

Affected products

Build Of Keycloak. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Redhat Build Of Keycloak runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Redhat products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.