CVE-2024-31218
published critical CVSS 3.1 · 9.8Missing Authentication for Critical Function in Webhood backend
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| webhood-io | webhood | < 0.9.1 (affected) | GitHub_M · cna |
| webhoodio | webhood | 0 to < 0.9.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-306 CWE-306: Missing Authentication for Critical Function
References
2Provider assertions
3GitHub_M · cna
Missing Authentication for Critical Function in Webhood backend
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 97e381b6da12e919b32268fbb1548ea287c96c11bb7e6d3ea21436300fa9af2e
- Ingested
- 23 Sep 2026, 08:22:25 UTC
- Source record
- Official CVE record