Exploitation Summary
EIP tracks 3 public exploits for CVE-2021-33393.
PoCs published by Mücahit Saratar, joaoaugustom, Mücahit Saratar <[email protected]>, Grant Willcox, including Metasploit module exploits/linux/http/ipfire_pakfire_exec.
AI-analyzed exploit summary This exploit leverages an authenticated command injection vulnerability in IPFire's pakfire.cgi by injecting a command into the INSPAKS parameter. It sends a crafted POST request with basic authentication to execute arbitrary commands on the target system.
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.
Exploits (3)
This exploit leverages an authenticated command injection vulnerability in IPFire's pakfire.cgi by injecting a command into the INSPAKS parameter. It sends a crafted POST request with basic authentication to execute arbitrary commands on the target system.
This repository contains a functional exploit for CVE-2021-33393, an authenticated remote code execution vulnerability in IPFire 2.25. The exploit modifies the backup.pl script to establish a reverse shell with root privileges.
This Metasploit module exploits an authenticated command injection vulnerability in IPFire's pakfire.cgi to achieve remote code execution as root. It leverages improper input validation in the INSPAKS parameter to inject and execute arbitrary commands.
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H