{"id":"UBUNTU-CVE-2021-28940","details":"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.","modified":"2025-10-24T04:50:15Z","published":"2021-04-02T20:15:00Z","upstream":["CVE-2021-28940"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-28940"},{"type":"REPORT","url":"https://github.com/kellan/magpierss/blob/04d2a88b97fdba5813d01dc0d56c772d97360bb5/extlib/Snoopy.class.inc#L660"},{"type":"REPORT","url":"https://pastebin.com/kpzHKKJu"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-28940"}],"affected":[{"package":{"name":"magpierss","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/magpierss@0.72-10ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.72-10","0.72-10ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libphp-magpierss","binary_version":"0.72-10ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28940.json"}},{"package":{"name":"magpierss","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/magpierss@0.72-11?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.72-11"],"ecosystem_specific":{"binaries":[{"binary_name":"libphp-magpierss","binary_version":"0.72-11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28940.json"}},{"package":{"name":"magpierss","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/magpierss@0.72-11?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.72-11"],"ecosystem_specific":{"binaries":[{"binary_name":"libphp-magpierss","binary_version":"0.72-11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28940.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}