github.com/IceWhaleTech/CasaOS-UserService
Affected
- introduced
0.4.4.3, fixed0.4.7(ecosystem)
Fixed versions
0.4.7
Fix
- Fixed version
0.4.7go get github.com/IceWhaleTech/[email protected]
Advisory
Also known as: CVE-2024-24767, GO-2024-2614
CasaOS Improper Restriction of Excessive Authentication Attempts vulnerability
Summary
Here it is observed that the CasaOS doesn't defend against password brute force attacks, which leads to having full access to the server.
Details
The web application lacks control over the login attempts i.e. why attacker can use a password brute force attack to find and get full access over the.
PoC
Note: _We have tested this vulnerability with more than 3400 tries. We have used 271 request counts just for demo purposes._
This means attacker can try 271 requests in 56 seconds.
Impact
This vulnerability allows attackers to get super user-level access over the server.
Mitigation
It is recommended to implement a proper rate-limiting mechanism on the server side where the configuration might be like:
If a specific IP address fails to login more than 5 times concurrently then that IP address must be blocked for at least 30 seconds. This will reduce the possibility of password brute-forcing attacks.
High Basis: The source's own band: HIGH
0.4.4.3, fixed 0.4.7 (ecosystem)0.4.7
0.4.7go get github.com/IceWhaleTech/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0