2021-03-24 17:46:18 +00:00
|
|
|
id: header-command-injection
|
|
|
|
|
|
|
|
info:
|
2022-10-19 21:11:27 +00:00
|
|
|
name: Header - Remote Command Injection
|
2021-03-24 17:46:18 +00:00
|
|
|
author: geeknik
|
2023-01-24 16:21:18 +00:00
|
|
|
severity: critical
|
2022-10-19 21:11:27 +00:00
|
|
|
description: Headers were tested for remote command injection vulnerabilities.
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 10
|
2022-10-19 21:11:27 +00:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 7650
|
2024-03-19 15:20:31 +00:00
|
|
|
tags: fuzz,rce
|
2021-03-24 17:46:18 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-08-22 18:09:33 +00:00
|
|
|
- raw:
|
2021-03-24 17:46:18 +00:00
|
|
|
- |
|
2022-04-29 05:04:34 +00:00
|
|
|
GET /?{{header}} HTTP/1.1
|
2021-03-24 17:46:18 +00:00
|
|
|
Host: {{Hostname}}
|
2022-04-29 05:04:34 +00:00
|
|
|
{{header}}: {{payload}}
|
2021-03-24 17:46:18 +00:00
|
|
|
|
2021-08-22 18:09:33 +00:00
|
|
|
payloads:
|
|
|
|
header: helpers/payloads/request-headers.txt
|
|
|
|
payload: helpers/payloads/command-injection.txt
|
2021-03-24 17:46:18 +00:00
|
|
|
attack: clusterbomb
|
2022-10-07 21:27:25 +00:00
|
|
|
host-redirects: true
|
2021-09-02 11:59:10 +00:00
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-03-24 17:46:18 +00:00
|
|
|
matchers-condition: or
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "uid="
|
|
|
|
- "gid="
|
|
|
|
- "groups="
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0:"
|
2024-02-28 07:36:01 +00:00
|
|
|
# digest: 4a0a0047304502203dfb9d94713bdd57f01a1037a1a475e92c22c7f2917019840a194b6d93960fe5022100d2d94c46b98286546a9bd02fe1229a1fb36b8d4e40d0dd981d1ad31662ab0a3c:922c64590222798bb761d5b6d8e72950
|