CVE-2024-28892
Description
An unauthenticated OS command injection in GoCast 1.1.3's name parameter allows arbitrary command execution via crafted HTTP requests.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
An unauthenticated OS command injection in GoCast 1.1.3's name parameter allows arbitrary command execution via crafted HTTP requests.
Vulnerability
Description
GoCast 1.1.3 contains an OS command injection vulnerability in the name parameter used to create loopback interface labels [1]. The addLoopback function in system.go constructs an ip address command by directly embedding the user-supplied name into the label, without sanitization [3][4]. Although the label is truncated to 15 characters (leaving only 12 characters for the injection due to the "lo:" prefix), this is sufficient to inject arbitrary commands [3][4].
Attack
Vector
The vulnerability can be triggered via an unauthenticated HTTP request to the registration endpoint (e.g., /register?name=) [3][4]. The HTTP API is enabled by default with no authentication, making it accessible to any network attacker [3]. Additionally, exploitation may be possible through configuration files or Consul integration [3]. No special privileges or user interaction are required [1].
Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands with the privileges of the GoCast process, typically leading to complete system compromise [1][3][4]. The CVSS v3.1 score is 9.8 (Critical) [3][4].
Mitigation
As of the advisory, no patch has been released [3]. Mitigations include disabling the HTTP API, placing it behind an authentication proxy, disabling Consul integration, and restricting configuration file permissions [3][4]. Users should review the default configuration to ensure the API is not exposed unnecessarily [2].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/mayuresh82/gocastGo | <= 1.1.3 | — |
Affected products
5- ghsa-coords4 versionspkg:golang/github.com/mayuresh82/gocastpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweedpkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6
<= 1.1.3+ 3 more
- (no CPE)range: <= 1.1.3
- (no CPE)range: < 0.0.20250108T191942-150000.1.26.1
- (no CPE)range: < 0.0.20250108T191942-1.1
- (no CPE)range: < 0.0.20250108T191942-150000.1.26.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4News mentions
0No linked articles in our index yet.