CVE-2024-24766 CasaOS Username Enumeration
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.
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/IceWhaleTech/CasaOS-UserService Go | From 0.4.4-3-alpha1 | 0.4.7 |
github.com/IceWhaleTech/CasaOS-UserService Go | From 0.4.4.3 | 0.4.7 |
github.com/IceWhaleTech/CasaOS-UserService Go | From 0.4.4.3 | 0.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.
Other vulnerabilities in IceWhaleTech CasaOS-UserService
Sources
Also known as GHSA-c967-2652-gfjm, GO-2024-2615.