CVE-2022-31814 in the critical feed json
pfSense pfBlockerNG through 2.1.4_26 allows remote attackers to execute arbitrary OS commands as root via shell metacharacters in the HTTP…
published 2022-09-05 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-53199
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 91.9%
- EPSS 91.9% chance of exploitation in 30 days, percentile 99.8%
- public exploits
- 2
- Metasploit, Exploit-DB, plus a Nuclei check
Summary
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.
Patch / fix
- github.com/pfsense/FreeBSD-ports#1169 commit
- github.com/pfsense/FreeBSD-ports#1169 pull request
Timeline
- Published
- First public exploit (Metasploit exploit/unix/http/pfsense_pfblockerng_webshell)
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
91.88% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/unix/http/pfsense_pfblockerng_webshell pfSense plugin pfBlockerNG unauthenticated RCE as root metasploit exploit, great rank, 2022-09-05
- EDB-51032 pfBlockerNG 2.1.4_26 - Remote Code Execution (RCE) webapps, 2023-02-20
- Nuclei template pfSense pfBlockerNG <=2.1..4_26 - OS Command Injection nuclei detection template
- ihteam.net https://www.ihteam.net/advisory/pfblockerng-unauth-rce-vulnerability/ referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/168743/pfSense-pfBlockerNG-2.1.4_26-Shell-Upload.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- netgate pfblockerng
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- github.com /pfsense/FreeBSD-ports/pull/1169
- github.com /pfsense/FreeBSD-ports/pull/1169/commits/071bdcf2d918c3e51cde11cf81fbd9b6f0379d7e
-
ihteam.net
/advisory/pfblockerng-unauth-rce-vulnerability/
exploit, technical-description, third-party-advisory
-
packetstormsecurity.com
/files/168743/pfSense-pfBlockerNG-2.1.4_26-Shell-Upload.html
exploit, third-party-advisory, vdb-entry
-
docs.netgate.com
/pfsense/en/latest/packages/pfblocker.html
release-notes, vendor-advisory
- packetstormsecurity.com /files/171123/pfBlockerNG-2.1.4_26-Remote-Code-Execution.html
Sources
- CVE List CVE-2022-31814
- NVD CVE-2022-31814
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.