Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-6wbz-sxyd-vfgx
Summary
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
1. Capture login request in proxy tool like Burp Suite and select password field.

![1](https://user-images.githubusercontent.com/63414468/297156515-0272bfd7-f386-4c22-b3bd-c4dbdc1298bf.PNG)

2. Here I have started attack with total number of 271 password tries where the last one is the correct password and as we can see in the following image we get a **400 Bad Request** status code with the message "**Invalid Password**" and response length **769** on 1st request which was sent at **_Tue, 16 Jan 2024 18:31:32 GMT_**

![2](https://user-images.githubusercontent.com/63414468/297157815-c158995b-7d46-4a5a-aef9-bcbbcf596b15.png)

**Note**:  _We have tested this vulnerability with more than 3400 tries. We have used 271 request counts just for demo purposes._


3. Here the attack is completed and we can see in the following image we get **200 OK** status code with the message "**Ok**" and response length **1509** on 271st request which was sent at **_Tue, 16 Jan 2024 18:32:01 GMT_**.

![3](https://user-images.githubusercontent.com/63414468/297159282-3f4788b5-6217-4f32-8be6-40ac117710e3.png)

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.
Aliases
0
alias CVE-2024-24767
1
alias GHSA-c69x-5xmw-v44x
Fixed_packages
0
url pkg:golang/github.com/IceWhaleTech/CasaOS-UserService@0.4.7
purl pkg:golang/github.com/IceWhaleTech/CasaOS-UserService@0.4.7
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-9mpk-c97c-qqbg
resource_url http://public2.vulnerablecode.io/packages/pkg:golang/github.com/IceWhaleTech/CasaOS-UserService@0.4.7
Affected_packages
References
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2024-24767
reference_id
reference_type
scores
0
value 0.00697
scoring_system epss
scoring_elements 0.72366
published_at 2026-06-09T12:55:00Z
1
value 0.00697
scoring_system epss
scoring_elements 0.72341
published_at 2026-06-08T12:55:00Z
2
value 0.00697
scoring_system epss
scoring_elements 0.72355
published_at 2026-06-07T12:55:00Z
3
value 0.00697
scoring_system epss
scoring_elements 0.72375
published_at 2026-06-06T12:55:00Z
4
value 0.00697
scoring_system epss
scoring_elements 0.72369
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2024-24767
1
reference_url https://github.com/IceWhaleTech/CasaOS-UserService
reference_id
reference_type
scores
0
value 7.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/IceWhaleTech/CasaOS-UserService
2
reference_url https://github.com/IceWhaleTech/CasaOS-UserService/commit/62006f61b55951048dbace4ebd9e483274838699
reference_id
reference_type
scores
0
value 7.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
1
value 9.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2024-03-06T19:46:32Z/
url https://github.com/IceWhaleTech/CasaOS-UserService/commit/62006f61b55951048dbace4ebd9e483274838699
3
reference_url https://github.com/IceWhaleTech/CasaOS-UserService/releases/tag/v0.4.7
reference_id
reference_type
scores
0
value 7.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
1
value 9.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2024-03-06T19:46:32Z/
url https://github.com/IceWhaleTech/CasaOS-UserService/releases/tag/v0.4.7
4
reference_url https://github.com/IceWhaleTech/CasaOS-UserService/security/advisories/GHSA-c69x-5xmw-v44x
reference_id
reference_type
scores
0
value 7.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
1
value 9.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2024-03-06T19:46:32Z/
url https://github.com/IceWhaleTech/CasaOS-UserService/security/advisories/GHSA-c69x-5xmw-v44x
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-24767
reference_id
reference_type
scores
0
value 7.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2024-24767
6
reference_url https://pkg.go.dev/vuln/GO-2024-2614
reference_id
reference_type
scores
0
value 7.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://pkg.go.dev/vuln/GO-2024-2614
Weaknesses
0
cwe_id 307
name Improper Restriction of Excessive Authentication Attempts
description The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks.
Exploits
Severity_range_score7.0 - 9.1
Exploitabilitynull
Weighted_severitynull
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-6wbz-sxyd-vfgx