GoCast HTTP API lack of authentication vulnerability
The GoCast HTTP API lacks authentication, allowing an unauthenticated attacker to register apps with arbitrary monitor commands that are executed via bash. This leads to arbitrary command execution on the host.
Originally disclosed on Cisco Talos
A lack of authentication vulnerability exists in the HTTP API functionality of GoCast 1.1.3. A specially crafted HTTP request can lead to arbitrary command execution.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The HTTP API for app registration and monitoring has no authentication, and the monitor parameter is passed directly to a bash command.
Impact
An unauthenticated attacker could execute arbitrary commands on the host, abuse BGP functionality, create NAT firewall rules, and choose network connections or scripts to run.
What the attacker needed
Network access to the HTTP API; API enabled (default in example config)
The fix
Users should disable the HTTP API or put it behind authentication using a reverse proxy; the vendor should add authentication, disable the API by default, and document its sensitivity.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
GoCast is a tool that announces network routes using BGP. Its web API lets you add apps, but it has no login check. Anyone who can reach the API can add an app with a command that the server runs, giving them control of the machine.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.