{"id":"CVE-2021-33393","aliases":["EUVD-2021-20099","GHSA-6r47-xw28-7649"],"status":"published","title":"lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned...","description":"lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. It might be owned by an unprivileged account, which could potentially be used to install a Trojan horse backup.pl script that is later executed by root. Similar problems with the ownership/permissions of other files may be present as well.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.59349,"percentile":0.99134,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2021-06-09T21:25:52Z","modified":"2026-06-17T03:54:31Z","exploits":[{"source":"exploitdb","id":"EDB-49869","title":"IPFire 2.25 - Remote Code Execution (Authenticated)","type":"webapps","platform":"cgi","date":"2021-05-17","url":"https://www.exploit-db.com/exploits/49869"},{"source":"metasploit","id":"exploit/linux/http/ipfire_pakfire_exec","title":"IPFire 2.25 Core Update 156 and Prior pakfire.cgi Authenticated RCE","type":"exploit","platform":"Python","date":"2021-05-17","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/http/ipfire_pakfire_exec"},{"source":"pocgithub","id":"joaoaugustom/IPFire_2.25_RCE_Authenticated","title":"joaoaugustom/IPFire_2.25_RCE_Authenticated","date":"2026-05-16","url":"https://github.com/joaoaugustom/IPFire_2.25_RCE_Authenticated"}],"products":[{"vendor":"ipfire","product":"ipfire"}],"references":[{"url":"https://github.com/MucahitSaratar/ipfire-2-25-auth-rce","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://github.com/ipfire/ipfire-2.x/commit/6769d909306d7bdc43d64598872126fcf1b217f6","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory"]},{"url":"https://github.com/ipfire/ipfire-2.x/commits/master?since=2021-05-17\u0026until=2021-05-17","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/163158/IPFire-2.25-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33393"},{"url":"https://github.com/advisories/GHSA-6r47-xw28-7649"}],"sources":{"cve":[{"id":"CVE-2021-33393","description":"lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. It might be owned by an unprivileged account, which could potentially be used to install a Trojan horse backup.pl script that is later executed by root. Similar problems with the ownership/permissions of other files may be present as well.","status":"published","published":"2021-06-09T21:25:52Z","modified":"2024-08-03T23:50:43.023Z","updated_at":"2026-11-02T14:33:10.555814Z"}],"euvd":[{"id":"EUVD-2021-20099","description":"lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. It might be owned by an unprivileged account, which could potentially be used to install a Trojan horse backup.pl script that is later executed by root. Similar problems with the ownership/permissions of other files may be present as well.","status":"published","published":"2021-06-09T21:25:52Z","modified":"2024-08-03T23:50:43Z","updated_at":"2026-11-03T03:24:34.304953Z"}],"ghsa":[{"id":"GHSA-6r47-xw28-7649","title":"lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned...","description":"lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. It might be owned by an unprivileged account, which could potentially be used to install a Trojan horse backup.pl script that is later executed by root. Similar problems with the ownership/permissions of other files may be present as well.","status":"published","published":"2022-05-24T19:04:57Z","modified":"2023-01-27T05:02:49Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T14:42:06.943612Z"}],"nvd":[{"id":"CVE-2021-33393","description":"lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. It might be owned by an unprivileged account, which could potentially be used to install a Trojan horse backup.pl script that is later executed by root. Similar problems with the ownership/permissions of other files may be present as well.","status":"published","published":"2021-06-09T22:15:08.647Z","modified":"2026-06-17T03:54:31.883Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:06:54.439974Z"}]}}
