Cyber Resilience

CVE-2022-31814

CriticalPublic PoCRCE

Published: 05 September 2022

Published
05 September 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.9432 100.0th percentile
Risk Priority 76 60% EPSS · 20% KEV · 20% CVSS

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

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

netgate
pfblockerng
≤ 2.1.4_26

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.

addresses: CWE-78

Platform-independent apps typically execute inside a managed runtime or sandbox that restricts direct OS command execution, reducing the ability to exploit OS command injection.

addresses: CWE-78

Validates inputs to block special elements that would alter OS command execution.

References