Exploit database

Vulnerability

CVE-2022-31814

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · CISA-ADP

Vector string

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

Description

pfSense pfBlockerNG through 2.1.4_26 allows remote attackers to execute arbitrary OS commands as root via shell metacharacters in the HTTP Host header. NOTE: 3.x is unaffected.

CVE Program

Exploit source choices

10 sources
pfSense plugin pfBlockerNG unauthenticated RCE as root
MSF-unix--http--pfsense_pfblockerng_webshellMetasploitBSD,Unix / remote

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.

2022-09-05pfsense_pfblockerng_webshell.rb
arpsyndicate/kenzer-templates
GH-e5a0867366963da7a3617cf6f32fda4bGitHubUnofficial GitHub source

essential templates for kenzer [DEPRECATED]

2020-09-185,308 files · 118 stars
laburity/cve-2022-31814
GH-5a5de7877c815e287daeaae30f5f7ae6GitHubUnofficial GitHub source

Updated Exploit - pfBlockerNG <= 2.1.4_26 Unauth RCE (CVE-2022-31814)

2024-07-233 files · 23 stars
chocapikk/cve-2022-31814
GH-2436d15079996613c00ca03d4c75754fGitHubUnofficial GitHub source

pfBlockerNG <= 2.1.4_26 Unauth RCE (CVE-2022-31814)

2023-03-263 files · 3 stars
dkstar11q/cve-2022-31814
GH-5e62cbd6c87604bf1c708d5b75a146f9GitHubUnofficial GitHub source

pfBlockerNG <= 2.1.4_26 Unauth RCE (CVE-2022-31814)

2023-03-263 files · 1 stars
sh4den/cve-2022-31814
GH-d9cefc0490a0ff2bf6540722544e672bGitHubUnofficial GitHub source

Proof of concept for CVE-2022-31814

2025-01-162 files · 1 stars
theunknownsoul/cve-2022-31814
GH-2a1a2dc043bae65cf1f2701ea21b6f92GitHubUnofficial GitHub source

theunknownsoul/cve-2022-31814 source repository

2023-03-014 files · 1 stars
arunhatter/cve-2022-31814
GH-540688395caa2ba1fabafdf61ab771fdGitHubUnofficial GitHub source

This script is a proof-of-concept exploit for pfBlockerNG <= 2.1.4_26 that allows for remote code execution. It takes a single target URL or a list of URLs, tries to upload a shell using multiple payloads, executes a command, and then deletes the shell.

2024-08-123 files · 0 stars