Exploit database

Vulnerability

CVE-2021-33393

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

3 sources
IPFire 2.25 Core Update 156 and Prior pakfire.cgi Authenticated RCE
MSF-linux--http--ipfire_pakfire_execMetasploitPython / remote

This module exploits an authenticated command injection vulnerability in the /cgi-bin/pakfire.cgi web page of IPFire devices running versions 2.25 Core Update 156 and prior to execute arbitrary code as the root user.

2021-05-17ipfire_pakfire_exec.rb
joaoaugustom/ipfire_2.25_rce_authenticated
GH-d419f534db2af7bcd06e3f4a44906b03GitHubUnofficial GitHub source

This exploit is based on CVE-2021-33393 and was built upon the original exploit by Mücahit Saratar, extending it to achieve a reverse shell with root privileges.

2026-05-163 files · 1 stars