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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2024-04-05T14:45:31.347Z
Updated: 2024-09-06T18:14:26.603Z
Reserved: 2024-03-29T14:16:31.901Z
Link: CVE-2024-31218
Vulnrichment
Updated: 2024-08-02T01:46:04.885Z
NVD
Status : Awaiting Analysis
Published: 2024-04-05T15:15:07.863
Modified: 2024-04-08T18:49:25.863
Link: CVE-2024-31218
Redhat
No data.