module

IPFire 2.25 Core Update 156 and Prior pakfire.cgi Authenticated RCE

Disclosed
2021-05-17
Created
2021-06-15

Description

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.

Authors

Mücahit Saratar trregen222@gmail.com
Grant Willcox

Platform

Python

Architectures

python

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/linux/http/ipfire_pakfire_exec
msf exploit(ipfire_pakfire_exec) > show targets
...targets...
msf exploit(ipfire_pakfire_exec) > set TARGET < target-id >
msf exploit(ipfire_pakfire_exec) > show options
...show and set options...
msf exploit(ipfire_pakfire_exec) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.