Merge pull request #9825 from NaN-KL/main
Correct False Positive Result from `server-status-localhost.yaml` and rename it to `apache-server-status-localhost.yaml`patch-4
commit
8199773688
|
@ -0,0 +1,51 @@
|
||||||
|
id: apache-server-status-localhost
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Server Status Disclosure
|
||||||
|
author: pdteam,geeknik,NaN-kl
|
||||||
|
severity: low
|
||||||
|
description: |
|
||||||
|
Apache Server Status page is exposed, which may contain information about pages visited by the users, their IPs or sensitive information such as session tokens.
|
||||||
|
metadata:
|
||||||
|
max-request: 2
|
||||||
|
tags: apache,debug,misconfig
|
||||||
|
|
||||||
|
flow: http(1) && http(2)
|
||||||
|
|
||||||
|
http:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}/server-status"
|
||||||
|
|
||||||
|
matchers:
|
||||||
|
- type: status
|
||||||
|
status:
|
||||||
|
- 403
|
||||||
|
- 404
|
||||||
|
- 401
|
||||||
|
condition: or
|
||||||
|
internal: true
|
||||||
|
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}/server-status"
|
||||||
|
|
||||||
|
headers:
|
||||||
|
Forwarded: 127.0.0.1
|
||||||
|
X-Client-IP: 127.0.0.1
|
||||||
|
X-Forwarded-By: 127.0.0.1
|
||||||
|
X-Forwarded-For: 127.0.0.1
|
||||||
|
X-Forwarded-For-IP: 127.0.0.1
|
||||||
|
X-Forwarded-Host: 127.0.0.1
|
||||||
|
X-Host: 127.0.0.1
|
||||||
|
X-Originating-IP: 127.0.0.1
|
||||||
|
X-Remote-Addr: 127.0.0.1
|
||||||
|
X-Remote-IP: 127.0.0.1
|
||||||
|
X-True-IP: 127.0.0.1
|
||||||
|
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
words:
|
||||||
|
- "Apache Server Status"
|
||||||
|
- "Server Version"
|
||||||
|
condition: and
|
|
@ -1,36 +0,0 @@
|
||||||
id: server-status-localhost
|
|
||||||
|
|
||||||
info:
|
|
||||||
name: Server Status Disclosure
|
|
||||||
author: pdteam,geeknik
|
|
||||||
severity: low
|
|
||||||
description: Apache Server Status page is exposed, which may contain information about pages visited by the users, their IPs or sensitive information such as session tokens.
|
|
||||||
metadata:
|
|
||||||
max-request: 1
|
|
||||||
tags: apache,debug,misconfig
|
|
||||||
|
|
||||||
http:
|
|
||||||
- method: GET
|
|
||||||
|
|
||||||
headers:
|
|
||||||
Forwarded: "127.0.0.1"
|
|
||||||
X-Client-IP: "127.0.0.1"
|
|
||||||
X-Forwarded-By: "127.0.0.1"
|
|
||||||
X-Forwarded-For: "127.0.0.1"
|
|
||||||
X-Forwarded-For-IP: "127.0.0.1"
|
|
||||||
X-Forwarded-Host: "127.0.0.1"
|
|
||||||
X-Host: "127.0.0.1"
|
|
||||||
X-Originating-IP: "127.0.0.1"
|
|
||||||
X-Remote-Addr: "127.0.0.1"
|
|
||||||
X-Remote-IP: "127.0.0.1"
|
|
||||||
X-True-IP: "127.0.0.1"
|
|
||||||
path:
|
|
||||||
- "{{BaseURL}}/server-status"
|
|
||||||
|
|
||||||
matchers:
|
|
||||||
- type: word
|
|
||||||
words:
|
|
||||||
- "Apache Server Status"
|
|
||||||
- "Server Version"
|
|
||||||
condition: and
|
|
||||||
# digest: 4a0a00473045022100978e79f5293059d77d7f12996faeb5e7327979bbdc03480dfaa632ce3692895002201fd20b313ef4e49782dca03918a3d53e057bdec80e366451c875c462b9992e8d:922c64590222798bb761d5b6d8e72950
|
|
Loading…
Reference in New Issue