CVE-2024-29296 Portainer CE allows username enumeration through authentication response timing

Medium 5.3 Published Updated

Remote attackers can enumerate valid usernames in Portainer CE by analyzing authentication response time differences.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-29296?

CVE-2024-29296 is a medium-severity vulnerability in n/a, published on 10 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A user enumeration vulnerability was found in Portainer CE 2.19.4. This issue occurs during user authentication process, where a difference in response time could allow a remote unauthenticated user to determine if a username is valid or not.

Weakness: CWE-286

Which versions are affected by CVE-2024-29296?

3 open source packages ship an affected version, including github.com/portainer/portainer. It affects 1 product.

PackageAffectedFixed in
github.com/portainer/portainer GoAll versions0.6.1-0.20240417040827-48bc7d0d92f0
github.com/portainer/portainer GoAll versions0.6.1-0.20240417040827-48bc7d0d92f0
github.com/portainer/portainer GoAll versions0.6.1-0.20240417040827-48bc7d0d92f0

Products include Portainer Portainer.

How do I fix CVE-2024-29296?

Upgrade github.com/portainer/portainer to 0.6.1-0.20240417040827-48bc7d0d92f0 or later.

Is CVE-2024-29296 being exploited?

There is no known exploitation of CVE-2024-29296 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as GHSA-87x6-8m9v-g8c2, GO-2026-6619.

Is CVE-2024-29296 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free