CVE-2022-31814
Published: 05 September 2022
Summary
CVE-2022-31814 is a critical-severity OS Command Injection (CWE-78) vulnerability in Netgate Pfblockerng. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 0.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2022-31814 is an OS command injection vulnerability, tracked as CWE-78, that affects the pfBlockerNG package in pfSense up through version 2.1.4_26. The flaw permits arbitrary operating-system command execution as root when specially crafted shell metacharacters are supplied in the HTTP Host header; version 3.x of the package is explicitly unaffected.
Unauthenticated remote attackers can exploit the issue over the network without any user interaction or credentials. Successful exploitation grants full root-level control of the affected pfSense system, enabling arbitrary command execution, persistence, or further lateral movement within the environment.
Public references point to a corrective commit merged via the FreeBSD-ports repository and advise users to upgrade pfBlockerNG to a fixed release or migrate to the unaffected 3.x branch. Netgate documentation for pfBlockerNG also directs administrators to apply available package updates through the pfSense interface.
The CVE maintains a very high EPSS score, with a recorded peak of 0.9710 and a current value of 0.9432, and public proof-of-concept exploits have been posted to PacketStorm, indicating active interest in the flaw after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-53199
Vulnerability details
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.