Apache Tomcat Manager Path Normalization Panel - Detect
ID: tomcat-manager-pathnormalization
Severity: info
Author: brenocss,organiccrap
Tags: panel,tomcat,apache,misconfig,intrusive
Description
Section titled “Description”Apache Tomcat Manager Path Normalization 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.
YAML Source
Section titled “YAML Source”id: tomcat-manager-pathnormalization
info: name: Apache Tomcat Manager Path Normalization Panel - Detect author: brenocss,organiccrap severity: info description: Apache Tomcat Manager Path Normalization 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://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: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N cvss-score: 0 cwe-id: CWE-200 metadata: max-request: 6 tags: panel,tomcat,apache,misconfig,intrusive
http: - method: GET path: - '{{BaseURL}}/..;/manager/html' - '{{BaseURL}}/..;/..;/manager/html;/' - '{{BaseURL}}/..;/host-manager/html' - '{{BaseURL}}/..;/..;/host-manager/html;/' - '{{BaseURL}}/{{randstr}}/..;/manager/html' - '{{BaseURL}}/{{randstr}}/..;/host-manager/html'
matchers-condition: and matchers: - type: word words: - 'username="tomcat" password="s3cret"' - 'manager-gui' condition: and
- type: status negative: true status: - 403# digest: 490a00463044022067429a543cc6cfc710ad2321306731c61c303c581df5a0d816c3fee810dba9be022040c37b91de5c9e4ca0efa0e003350693c9ae4007edc9574131b6cd6deaaf3cfc:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/misconfiguration/apache/tomcat-pathnormalization.yaml"