RCE in Pfsense Pfblockerng
CVE-2022-40624
pfSense pfBlockerNG through 2.1.4_27 allows remote attackers to execute arbitrary OS commands as root via the HTTP Host header, a different vulnerability than CVE-2022-31814.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.182, 97.3th percentile (scored ); up from 0.173 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.173 · newest: 0.182 · change: +0.010
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- dhammon/pfBlockerNg-CVE-2022-40624 (2 stars, last pushed 2022-09-15)
- krevetkqqq/CVE-2022-40624 (last pushed 2026-10-30)
Also mentioned in 8 other repositories (20142995/nuclei-templates, ARPSyndicate/cvemon, cyb3r-w0lf/nuclei-template-collection, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- docs.netgate.com/pfsense/en/latest/packages/pfblocker.html (Vendor Advisory)
- github.com/dhammon/pfBlockerNg-RCE (Broken Link)
- github.com/dhammon/pfBlockerNg-CVE-2022-40624 (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.