{"id":"CVE-2021-28940","aliases":["EUVD-2021-15591","GHSA-pqv7-f7mw-95gc","UBUNTU-CVE-2021-28940"],"status":"published","title":"Because of a incorrect escaped exec command in MagpieRSS in 0.72 in the /extlib/Snoopy.class.inc...","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.03299,"percentile":0.88621,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-116"],"published":"2021-04-02T19:06:19Z","modified":"2026-10-20T10:53:42Z","affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"magpierss","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.72-10","0.72-10ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"magpierss","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.72-11"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"magpierss","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.72-11"]}],"products":[{"vendor":"magpierss_project","product":"magpierss"}],"references":[{"url":"https://pastebin.com/kpzHKKJu","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://github.com/kellan/magpierss/blob/04d2a88b97fdba5813d01dc0d56c772d97360bb5/extlib/Snoopy.class.inc#L660","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://www.exploit-db.com/exploits/49643","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28940"},{"url":"https://github.com/advisories/GHSA-pqv7-f7mw-95gc"},{"url":"https://ubuntu.com/security/CVE-2021-28940","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-28940","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-28940","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.","status":"published","published":"2021-04-02T19:06:19Z","modified":"2024-08-03T21:55:12.222Z","updated_at":"2026-11-02T14:33:08.811269Z"}],"euvd":[{"id":"EUVD-2021-15591","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.","status":"published","published":"2021-04-02T19:06:19Z","modified":"2024-08-03T21:55:12Z","updated_at":"2026-11-03T03:24:46.117926Z"}],"ghsa":[{"id":"GHSA-pqv7-f7mw-95gc","title":"Because of a incorrect escaped exec command in MagpieRSS in 0.72 in the /extlib/Snoopy.class.inc...","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.","status":"published","published":"2022-05-24T17:46:26Z","modified":"2023-01-27T05:03:53Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-116"],"updated_at":"2026-11-02T14:42:20.442744Z"}],"nvd":[{"id":"CVE-2021-28940","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.","status":"published","published":"2021-04-02T20:15:13.317Z","modified":"2026-06-17T03:47:03.61Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-116"],"updated_at":"2026-11-02T14:06:51.197859Z"}],"osv":[{"id":"CVE-2021-28940","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.","status":"published","published":"2021-04-02T20:15:13.317Z","modified":"2026-10-20T10:53:42.625312923Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:19.129331Z"},{"id":"UBUNTU-CVE-2021-28940","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.","status":"published","published":"2021-04-02T20:15:00Z","modified":"2025-10-24T04:50:15Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:26.779273Z"}]}}
