CVE-2024-31218
CVSS V2 None
CVSS V3 None
Description
Webhood is a self-hosted URL scanner used analyzing phishing and malicious sites. Webhood's backend container images in versions 0.9.0 and earlier are subject to Missing Authentication for Critical Function vulnerability. This vulnerability allows an unauthenticated attacker to send a HTTP request to the database (Pocketbase) admin API to create an admin account. The Pocketbase admin API does not check for authentication/authorization when creating an admin account when no admin accounts have been added. In its default deployment, Webhood does not create a database admin account. Therefore, unless users have manually created an admin account in the database, an admin account will not exist in the deployment and the deployment is vulnerable. Versions starting from 0.9.1 are patched. The patch creates a randomly generated admin account if admin accounts have not already been created i.e. the vulnerability is exploitable in the deployment. As a workaround, users can disable access to URL path starting with `/api/admins` entirely. With this workaround, the vulnerability is not exploitable via network.
Overview
- CVE ID
- CVE-2024-31218
- Assigner
- GitHub_M
- Vulnerability Status
- PUBLISHED
- Published Version
- 2024-04-05T14:45:31.347Z
- Last Modified Date
- 2024-04-05T14:45:31.347Z
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://github.com/webhood-io/webhood/security/advisories/GHSA-h533-rxhm-73j2 | x_refsource_CONFIRM |
https://github.com/webhood-io/webhood/commit/735e7fa2814edeec9a2c07778ed51b3c018609f9 | x_refsource_MISC |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2024-31218 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-31218 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-06-24 00:04:20 | Added to TrackCVE |