Skip to content

CVE-2024-31218 Missing Authentication for Critical Function in Webhood backend

CriticalCVSS 9.8 EPSS 0.72%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
webhoodio webhood < 0.9.1 0.9.1 Fixed
webhood-io webhood = < 0.9.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
webhood-io webhood = < 0.9.1 No fix listed
webhoodio webhood < 0.9.1 0.9.1

References