CVE-2022-31814 Command injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary OS commands as root via shell metacharacters in the HTTP Host header of pfBlockerNG.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-31814?

CVE-2022-31814 is a critical command injection vulnerability in n/a, published on 5 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2022-31814?

It affects 1 product.

Products include Netgate Pfblockerng.

How do I fix CVE-2022-31814?

No fix has been published for CVE-2022-31814 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-31814 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31814 exists.

Public exploit code: 1 Metasploit module, 1 Exploit-DB entry, 1 Nuclei template and 9 proofs of concept on GitHub.

Sources

Also known as GHSA-hr8v-98c3-7p3x.

Is CVE-2022-31814 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free