CVE-2024-28892 GoCast OS Command Injection vulnerability

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary OS commands via the name parameter in GoCast, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-28892?

CVE-2024-28892 is a critical command injection vulnerability in GoCast, published on 21 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An OS command injection vulnerability exists in the name parameter of GoCast 1.1.3. A specially crafted HTTP request can lead to arbitrary command execution. An attacker can make an unauthenticated HTTP request to trigger this vulnerability.

Weakness: CWE-78

Which versions are affected by CVE-2024-28892?

3 open source packages ship an affected version, including github.com/mayuresh82/gocast. It affects 1 product.

PackageAffectedFixed in
github.com/mayuresh82/gocast GoAll versionsNone
github.com/mayuresh82/gocast GoAll versions to 1.1.3None
github.com/mayuresh82/gocast GoAll versions to 1.1.3None

Products include Mayuresh82 Gocast.

How do I fix CVE-2024-28892?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-28892 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-28892 exists.

Sources

Also known as GHSA-5qww-56gc-f66c, GO-2024-3359.

Is CVE-2024-28892 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free