module

pfSense plugin pfBlockerNG unauthenticated RCE as root

Disclosed
2022-09-05
Created
2022-10-13

Description

pfBlockerNG is a popular pfSense plugin that is not installed by default. It’s generally used to
block inbound connections from whole countries or IP ranges. Versions 2.1.4_26 and below are affected
by an unauthenticated RCE vulnerability that results in root access. Note that version 3.x is unaffected.

Authors

IHTeam
jheysel-r7

Platform

Unix

Architectures

cmd

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/unix/http/pfsense_pfblockerng_webshell
msf exploit(pfsense_pfblockerng_webshell) > show targets
...targets...
msf exploit(pfsense_pfblockerng_webshell) > set TARGET < target-id >
msf exploit(pfsense_pfblockerng_webshell) > show options
...show and set options...
msf exploit(pfsense_pfblockerng_webshell) > 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.