{"id":"CVE-2022-31814","published":"2022-09-05T00:00:00Z","modified":"2024-08-03T07:26:01Z","title":"pfSense pfBlockerNG through 2.1.4_26 allows remote attackers to execute arbitrary OS commands as root via shell…","vendor":null,"product":null,"tier":"core","eol":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-05-14T18:16:49.666639Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"pfBlockerNG, a package for pfSense firewalls, contains a command injection flaw in versions through 2.1.4_26, where the component fails to neutralise shell metacharacters. The 3.x releases are not affected. A remote attacker with network access to the affected device can send an HTTP request with crafted shell metacharacters in the Host header to run arbitrary operating system commands as root, requiring no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:32:17Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.94055,"percentile":0.99903,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-09-18","exploitedFirstSeen":"2024-09-18","ransomware":false,"evidence":[{"url":"https://media.defense.gov/2024/Sep/18/2003547016/-1/-1/0/CSA-PRC-LINKED-ACTORS-BOTNET.PDF","date":"2024-09-18"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2022-31814","date":"2025-11-26"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":6,"pulses":[{"name":"ripe.arin.enom.cpanel.cpcalendar.iana.networksolutions.02050.webdisk.webmail.","url":"https://otx.alienvault.com/pulse/69fdc02bea1e4ec923b01688","created":"2026-05-08"},{"name":"NCSC Advisory - 18th Sept 2024 - PRC Botnet","url":"https://otx.alienvault.com/pulse/678638141cbf938dbca1090d","created":"2025-01-14"},{"name":"People's Republic of China-Linked Actors Compromise Routers and IoT Devices for Botnet Operations","url":"https://otx.alienvault.com/pulse/677cd56c6fd3f2632e1b4411","created":"2025-01-07"},{"name":"People's Republic of China-Linked Actors Compromise Routers and IoT Devices for Botnet Operations","url":"https://otx.alienvault.com/pulse/677cd54761ae1299ecfe27aa","created":"2025-01-07"},{"name":"People's Republic of China-Linked Actors Compromise Routers and IoT Devices for Botnet Operations","url":"https://otx.alienvault.com/pulse/66fd391fe0318d98f8af0eb4","created":"2024-10-02"},{"name":"CSA-PRC-LINKED-ACTORS-BOTNET","url":"https://otx.alienvault.com/pulse/66ebe08841abbc50444fbcae","created":"2024-09-19"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://docs.netgate.com/pfsense/en/latest/packages/pfblocker.html","tags":[]},{"url":"https://www.ihteam.net/advisory/pfblockerng-unauth-rce-vulnerability/","tags":[]},{"url":"http://packetstormsecurity.com/files/168743/pfSense-pfBlockerNG-2.1.4_26-Shell-Upload.html","tags":[]},{"url":"http://packetstormsecurity.com/files/171123/pfBlockerNG-2.1.4_26-Remote-Code-Execution.html","tags":[]},{"url":"https://github.com/pfsense/FreeBSD-ports/pull/1169","tags":[]},{"url":"https://github.com/pfsense/FreeBSD-ports/pull/1169/commits/071bdcf2d918c3e51cde11cf81fbd9b6f0379d7e","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-53199","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-53199","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":51032,"url":"https://www.exploit-db.com/exploits/51032","title":"pfBlockerNG 2.1.4_26 - Remote Code Execution (RCE)","type":"webapps","platform":"php","date":"2023-02-20","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2023-02-20"},"pocGithub":{"count":8,"skipped":1,"earliest":"2022-09-18","earliestUrl":"https://github.com/EvergreenCartoons/SenselessViolence","repos":[{"name":"Laburity/CVE-2022-31814","url":"https://github.com/Laburity/CVE-2022-31814","stars":23,"created":"2024-07-23"},{"name":"EvergreenCartoons/SenselessViolence","url":"https://github.com/EvergreenCartoons/SenselessViolence","stars":4,"created":"2022-09-18"},{"name":"Chocapikk/CVE-2022-31814","url":"https://github.com/Chocapikk/CVE-2022-31814","stars":3,"created":"2023-03-26"},{"name":"drcayber/RCE","url":"https://github.com/drcayber/RCE","stars":2,"created":"2023-03-05"},{"name":"TheUnknownSoul/CVE-2022-31814","url":"https://github.com/TheUnknownSoul/CVE-2022-31814","stars":1,"created":"2023-03-01"}]},"metasploit":[{"name":"pfSense plugin pfBlockerNG unauthenticated RCE as root","module":"exploit/unix/http/pfsense_pfblockerng_webshell","type":"exploit","disclosureDate":"2022-09-05","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/pfsense_pfblockerng_webshell.rb"}],"nuclei":[{"id":"CVE-2022-31814","name":"pfSense pfBlockerNG <=2.1..4_26 - OS Command Injection","severity":"critical","path":"http/cves/2022/CVE-2022-31814.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-31814.yaml"}],"first":{"date":"2022-09-05","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/pfsense_pfblockerng_webshell.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/168743/pfSense-pfBlockerNG-2.1.4_26-Shell-Upload.html","http://packetstormsecurity.com/files/171123/pfBlockerNG-2.1.4_26-Remote-Code-Execution.html"],"flow":[],"timeline":[{"date":"2022-09-05","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-31814","provenance":"source"},{"date":"2022-09-05","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2022-09-18, Exploit-DB 2023-02-20","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/pfsense_pfblockerng_webshell.rb","provenance":"source"},{"date":"2024-09-18","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://media.defense.gov/2024/Sep/18/2003547016/-1/-1/0/CSA-PRC-LINKED-ACTORS-BOTNET.PDF","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":68.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 798 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.98,"detail":"percentile 0.9990"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 2 NVD exploit links; 8 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.92,"detail":"6 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}