CVE-2021-28940 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via crafted RSS URLs due to improper escaping in MagpieRSS, affecting applications using this library.

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

What is CVE-2021-28940?

CVE-2021-28940 is a critical command injection vulnerability in n/a, published on 2 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Because of a incorrect escaped exec command in MagpieRSS in 0.72 in the /extlib/Snoopy.class.inc file, it is possible to add a extra command to the curl binary. This creates an issue on the /scripts/magpie_debug.php and /scripts/magpie_simple.php page that if you send a specific https url in the RSS URL field, you are able to execute arbitrary commands.

Weakness: CWE-116

Which versions are affected by CVE-2021-28940?

It affects 1 product.

Products include Magpierss Project Magpierss.

How do I fix CVE-2021-28940?

No fix has been published for CVE-2021-28940 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-28940 being exploited?

There is no known exploitation of CVE-2021-28940 in the wild and no public exploit code.

Sources

Also known as GHSA-pqv7-f7mw-95gc, UBUNTU-CVE-2021-28940.

Is CVE-2021-28940 in your software?

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

Check your SBOMs for free