2021-03-24 17:46:18 +00:00
|
|
|
id: header-command-injection
|
|
|
|
|
|
|
|
|
|
info:
|
2022-10-19 17:11:27 -04:00
|
|
|
name: Header - Remote Command Injection
|
2021-03-24 17:46:18 +00:00
|
|
|
author: geeknik
|
2023-01-24 11:21:18 -05:00
|
|
|
severity: critical
|
2022-10-19 17:11:27 -04: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 16:57:55 +05:30
|
|
|
cvss-score: 10
|
2022-10-19 17:11:27 -04:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 13:41:21 +05:30
|
|
|
metadata:
|
|
|
|
|
max-request: 7650
|
2024-06-07 10:04:29 +00:00
|
|
|
tags: fuzz,rce,fuzzing
|
2021-03-24 17:46:18 +00:00
|
|
|
|
2023-04-27 09:58:59 +05:30
|
|
|
http:
|
2021-08-22 23:39:33 +05:30
|
|
|
- raw:
|
2021-03-24 17:46:18 +00:00
|
|
|
- |
|
2022-04-29 01:04:34 -04:00
|
|
|
GET /?{{header}} HTTP/1.1
|
2021-03-24 17:46:18 +00:00
|
|
|
Host: {{Hostname}}
|
2022-04-29 01:04:34 -04:00
|
|
|
{{header}}: {{payload}}
|
2021-03-24 17:46:18 +00:00
|
|
|
|
2021-08-22 23:39:33 +05:30
|
|
|
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-08 02:57:25 +05:30
|
|
|
host-redirects: true
|
2021-09-02 17:29:10 +05:30
|
|
|
stop-at-first-match: true
|
2023-10-14 16:57:55 +05:30
|
|
|
|
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-25 03:05:55 +05:30
|
|
|
- "root:.*:0:0:"
|
2024-12-01 13:57:55 +00:00
|
|
|
# digest: 490a0046304402204a5b96636900df0d8c3810ff451ca1b7aae4502408ef78b53a8a421cf9bb642702202e209fd2b8a79339b8250d5a9bf1123721a1d26e4577866d6d628268f2b9d05f:922c64590222798bb761d5b6d8e72950
|