added flow & updated matcher

patch-4
Ritik Chaddha 2024-06-12 22:55:22 +05:30 committed by GitHub
parent 3c063d0a3a
commit f5052fe844
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 18 additions and 9 deletions

View File

@ -1,25 +1,35 @@
---
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.
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
@ -32,11 +42,10 @@ http:
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
- "Apache Server Status"
- "Server Version"
condition: and