{"schemaVersion":3,"id":"CVE-2022-31814","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-09-05T00:00:00.000Z","modified":"2024-08-03T07:26:01.300Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.91881,"percentile":0.99819,"severity":"critical","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.91881},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.91881,"percentile":0.99819}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.91881,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.91881,"percentile":0.99819}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_60A4C0DA2E0DB3ED","name":"Exploit Reference (ihteam.net)","source":"reference","url":"https://www.ihteam.net/advisory/pfblockerng-unauth-rce-vulnerability/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_3ADDE99748F9A0FA","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/168743/pfSense-pfBlockerNG-2.1.4_26-Shell-Upload.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"51032","name":"pfBlockerNG 2.1.4_26 - Remote Code Execution (RCE)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/51032","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"php","file":"exploits/php/webapps/51032.py","codes":["CVE-2022-31814"]},"metasploit":null},{"id":"MSF_EXPLOIT_UNIX_HTTP_PFSENSE_PFBLOCKERNG_WEBSHELL","name":"pfSense plugin pfBlockerNG unauthenticated RCE as root","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/unix/http/pfsense_pfblockerng_webshell.rb","maturity":"weaponized","reliabilityScore":0.8333333333333334,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/unix/http/pfsense_pfblockerng_webshell","rank":"500","rankName":"great","postAuth":false,"check":true,"stability":["crash-service-down"],"sideEffects":["artifacts-on-disk","ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":4,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"netgate","product":"pfblockerng","name":"pfblockerng","label":"pfblockerng","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.1.4_26","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.1.4_26","eol":null,"hubHref":"/vendor/netgate/pfblockerng"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://docs.netgate.com/pfsense/en/latest/packages/pfblocker.html","label":"docs.netgate.com/pfsense/en/latest/packages/pfblocker.html","hostname":"docs.netgate.com","tags":["Release Notes","Vendor Advisory"]},{"url":"https://www.ihteam.net/advisory/pfblockerng-unauth-rce-vulnerability/","label":"www.ihteam.net/advisory/pfblockerng-unauth-rce-vulnerability/","hostname":"www.ihteam.net","tags":["Exploit","Technical Description","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/168743/pfSense-pfBlockerNG-2.1.4_26-Shell-Upload.html","label":"packetstormsecurity.com/files/168743/pfSense-pfBlockerNG-2.1.4_26-Shell-Upload.html","hostname":"packetstormsecurity.com","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/171123/pfBlockerNG-2.1.4_26-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/171123/pfBlockerNG-2.1.4_26-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":[]},{"url":"https://github.com/pfsense/FreeBSD-ports/pull/1169","label":"github.com/pfsense/FreeBSD-ports/pull/1169","hostname":"github.com","tags":[]},{"url":"https://github.com/pfsense/FreeBSD-ports/pull/1169/commits/071bdcf2d918c3e51cde11cf81fbd9b6f0379d7e","label":"github.com/pfsense/FreeBSD-ports/pull/1169/commits/071bdcf2d918c3e51cde11cf81fbd9b6f0379d7e","hostname":"github.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-09-05T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T07:26:01.300Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:46:59.611Z","stale":false,"partial":false}}