CVE-2024-24766 CasaOS Username Enumeration

Medium 6.2 Published Updated

An attacker can enumerate valid CasaOS usernames by observing distinct error messages for invalid users versus invalid passwords.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-24766?

CVE-2024-24766 is a medium-severity vulnerability in IceWhaleTech CasaOS-UserService, published on 6 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

CasaOS-UserService provides user management functionalities to CasaOS. Starting in version 0.4.4.3 and prior to version 0.4.7, the Casa OS Login page disclosed the username enumeration vulnerability in the login page. An attacker can enumerate the CasaOS username using the application response. If the username is incorrect application gives the error `**User does not exist**`. If the password is incorrect application gives the error `**Invalid password**`. Version 0.4.7 fixes this issue.

Weakness: CWE-203, CWE-204

Which versions are affected by CVE-2024-24766?

3 open source packages ship an affected version, including github.com/IceWhaleTech/CasaOS-UserService. It affects 1 product.

PackageAffectedFixed in
github.com/IceWhaleTech/CasaOS-UserService GoFrom 0.4.4-3-alpha10.4.7
github.com/IceWhaleTech/CasaOS-UserService GoFrom 0.4.4.30.4.7
github.com/IceWhaleTech/CasaOS-UserService GoFrom 0.4.4.30.4.7

Products include Icewhale Casaos-Userservice.

How do I fix CVE-2024-24766?

Upgrade github.com/IceWhaleTech/CasaOS-UserService to 0.4.7 or later.

Is CVE-2024-24766 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24766 exists.

Sources

Also known as GHSA-c967-2652-gfjm, GO-2024-2615.

Is CVE-2024-24766 in your software?

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

Check your SBOMs for free