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.
References
Link | Resource |
---|---|
https://github.com/kellan/magpierss/blob/04d2a88b97fdba5813d01dc0d56c772d97360bb5/extlib/Snoopy.class.inc#L660 | Third Party Advisory |
https://pastebin.com/kpzHKKJu | Exploit Third Party Advisory |
https://www.exploit-db.com/exploits/49643 | Exploit Third Party Advisory VDB Entry |
Configurations
Information
Published : 2021-04-02 13:15
Updated : 2022-12-13 08:34
NVD link : CVE-2021-28940
Mitre link : CVE-2021-28940
JSON object : View
CWE
CWE-116
Improper Encoding or Escaping of Output
Products Affected
magpierss_project
- magpierss