CVE-2022-31814pfSense pfBlockerNG through 2.1.4_26 allows remote attackers to execute arbitrary OS commands as root via shell metacharacters in the HTTP…
- 9.8CriticalCVSS base score
- 91.9%Exploitation in 30 daysEPSS · top 0.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and an Exploit-DB entry for it. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits3
Metasploit modules1 module
- pfSense plugin pfBlockerNG unauthenticated RCE as root (Metasploit module) (opens in a new tab)
exploit/unix/http/pfsense_pfblockerng_webshellRank greatdisclosed 5 Sept 2022
Nuclei templates1 template
- pfSense pfBlockerNG <=2.1..4_26 - OS Command Injection (Nuclei template) (opens in a new tab)
http/cves/2022/CVE-2022-31814.yamlSeverity critical
Exploit-DB1 entry
- pfBlockerNG 2.1.4_26 - Remote Code Execution (RCE) (Exploit-DB entry) (opens in a new tab)
EDB-ID 51032webapps, phppublished 20 Feb 2023Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 3 months later
· 3 months later
Published
- 23 months later
· 23 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 91.9% · top 0.2% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
n/a
- affected n/a
References
References6
- https://docs.netgate.com/pfsense/en/latest/packages/pfblocker.html (opens in a new tab)x_transferred
- https://www.ihteam.net/advisory/pfblockerng-unauth-rce-vulnerability/ (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/168743/pfSense-pfBlockerNG-2.1.4_26-Shell-Upload.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/171123/pfBlockerNG-2.1.4_26-Remote-Code-Execution.html (opens in a new tab)x_transferred
- https://github.com/pfsense/FreeBSD-ports/pull/1169 (opens in a new tab)x_transferred
- https://github.com/pfsense/FreeBSD-ports/pull/1169/commits/071bdcf2d918c3e51cde11cf81fbd9b6f0379d7e (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-53199 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-31814)Record last updated .