37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
id: tomcat-manager-pathnormalization
|
|
|
|
info:
|
|
name: Tomcat Manager Path Normalization
|
|
author: organiccrap
|
|
severity: info
|
|
description: A Tomcat Manager login panel was discovered via path normalization. Normalizing a path involves modifying the string that identifies a path or file so that it conforms to a valid path on the target
|
|
operating system.
|
|
reference:
|
|
- https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/mitigation-path-normalization
|
|
- https://i.blackhat.com/us-18/Wed-August-8/us-18-Orange-Tsai-Breaking-Parser-Logic-Take-Your-Path-Normalization-Off-And-Pop-0days-Out-2.pdf
|
|
classification:
|
|
cwe-id: CWE-200
|
|
tags: panel,tomcat,apache
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/..;/manager/html'
|
|
- '{{BaseURL}}/..;/host-manager/html'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'username="tomcat" password="s3cret"'
|
|
- 'manager-gui'
|
|
condition: and
|
|
|
|
- type: status
|
|
negative: true
|
|
status:
|
|
- 403
|
|
- 401
|
|
|
|
# Enhanced by mp on 2022/03/17
|