GHSA-6XP5-7RCX-XFGX
Vulnerability from github – Published: 2026-10-07 16:12 – Updated: 2026-10-07 16:12Summary
On every fresh Homer deployment using internal authentication, the bootstrap process automatically creates an admin account with the password sipcapture (stored as a legacy SHA-256 hex hash). There is no first-login forced-change mechanism. Any attacker who reaches the login endpoint immediately gains full administrative access.
Details
config/config.go lines 858-861:
// DefaultInternalAuthPasswordHash is the SHA-256 hex digest of the default
// bootstrap password (cleartext: sipcapture).
const DefaultInternalAuthPasswordHash = "883ffc1f37fd0fe542b0fb9740035c4383e7d976c411161d24e62edace280f90"
coordinator/services/auth_bootstrap.go lines 20-71: EnsureBootstrapAdminUser() runs at startup. If no admin user exists, it inserts a row with username=admin, password_hash=DefaultInternalAuthPasswordHash. No force_change, no first_login flag, no expiry is set.
coordinator/services/auth_bootstrap_test.go line 114 confirms the plaintext:
u, err := svc.Authenticate(ctx, "admin", "sipcapture")
passwordhash/password.go lines 36-45: Legacy SHA-256 hex hashes are accepted via legacySHA256HexEqual, so the default credential is functional on any deployment.
PoC
# Authenticate with default credentials — works on any fresh Homer deployment
curl -s -X POST http://<homer-host>/api/v3/auth \
-H 'Content-Type: application/json' \
-d '{"username":"admin","password":"sipcapture"}'
# Response: {"token":"<admin-jwt>","data":{"userGroup":"admin"}}
# Use the token to access all admin functionality
curl -H "Authorization: Bearer <admin-jwt>" http://<homer-host>/api/v3/users
Impact
Use of Hard-coded Credentials (CWE-798). Any attacker who can reach a freshly deployed Homer instance gains immediate full administrative access using the publicly documented default password, with no lockout, rate limiting, or forced password change required.
Fix
Remove the hardcoded DefaultInternalAuthPasswordHash constant. Require operators to provide a hashed admin password in the configuration file. Alternatively, generate a random password on first startup, print it to stdout once, and immediately force a change on first login.
If possible, please apply for a CVE number when posting.
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/sipcapture/homer-app"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.0-20260625091610-b2e942031ff8"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-62252"
],
"database_specific": {
"cwe_ids": [
"CWE-798"
],
"github_reviewed": true,
"github_reviewed_at": "2026-10-07T16:12:02Z",
"nvd_published_at": null,
"severity": "CRITICAL"
},
"details": "### Summary\nOn every fresh Homer deployment using internal authentication, the bootstrap process automatically creates an `admin` account with the password `sipcapture` (stored as a legacy SHA-256 hex hash). There is no first-login forced-change mechanism. Any attacker who reaches the login endpoint immediately gains full administrative access.\n\n### Details\n**`config/config.go` lines 858-861:**\n```go\n// DefaultInternalAuthPasswordHash is the SHA-256 hex digest of the default\n// bootstrap password (cleartext: sipcapture).\nconst DefaultInternalAuthPasswordHash = \"883ffc1f37fd0fe542b0fb9740035c4383e7d976c411161d24e62edace280f90\"\n```\n\n**`coordinator/services/auth_bootstrap.go` lines 20-71:** `EnsureBootstrapAdminUser()` runs at startup. If no admin user exists, it inserts a row with `username=admin`, `password_hash=DefaultInternalAuthPasswordHash`. No `force_change`, no `first_login` flag, no expiry is set.\n\n**`coordinator/services/auth_bootstrap_test.go` line 114** confirms the plaintext:\n```go\nu, err := svc.Authenticate(ctx, \"admin\", \"sipcapture\")\n```\n\n**`passwordhash/password.go` lines 36-45:** Legacy SHA-256 hex hashes are accepted via `legacySHA256HexEqual`, so the default credential is functional on any deployment.\n\n### PoC\n```bash\n# Authenticate with default credentials \u2014 works on any fresh Homer deployment\ncurl -s -X POST http://\u003chomer-host\u003e/api/v3/auth \\\n -H \u0027Content-Type: application/json\u0027 \\\n -d \u0027{\"username\":\"admin\",\"password\":\"sipcapture\"}\u0027\n# Response: {\"token\":\"\u003cadmin-jwt\u003e\",\"data\":{\"userGroup\":\"admin\"}}\n\n# Use the token to access all admin functionality\ncurl -H \"Authorization: Bearer \u003cadmin-jwt\u003e\" http://\u003chomer-host\u003e/api/v3/users\n```\n\n### Impact\nUse of Hard-coded Credentials (CWE-798). Any attacker who can reach a freshly deployed Homer instance gains immediate full administrative access using the publicly documented default password, with no lockout, rate limiting, or forced password change required.\n\n### Fix\nRemove the hardcoded `DefaultInternalAuthPasswordHash` constant. Require operators to provide a hashed admin password in the configuration file. Alternatively, generate a random password on first startup, print it to stdout once, and immediately force a change on first login.\n\nIf possible, please apply for a CVE number when posting.",
"id": "GHSA-6xp5-7rcx-xfgx",
"modified": "2026-10-07T16:12:02Z",
"published": "2026-10-07T16:12:02Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/sipcapture/homer/security/advisories/GHSA-6xp5-7rcx-xfgx"
},
{
"type": "WEB",
"url": "https://github.com/sipcapture/homer/pull/838"
},
{
"type": "WEB",
"url": "https://github.com/sipcapture/homer/commit/b2e942031ff8cd7435a244ebef306ee97d16b809"
},
{
"type": "PACKAGE",
"url": "https://github.com/sipcapture/homer"
},
{
"type": "WEB",
"url": "https://github.com/sipcapture/homer/releases/tag/11.0.283"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Homer: Hardcoded Default Admin Password \u0027sipcapture\u0027 With No Forced Change on First Login"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.