Common Error Log Files
ID: error-logs
Severity: low
Author: geeknik,daffainfo,ELSFA7110,Hardik-Solanki
Tags: logs,exposure,error
Description
Section titled “Description”Error log files were exposed.
YAML Source
Section titled “YAML Source”id: error-logs
info: name: Common Error Log Files author: geeknik,daffainfo,ELSFA7110,Hardik-Solanki severity: low description: Error log files were exposed. metadata: max-request: 29 tags: logs,exposure,error
http: - method: GET path: - "{{BaseURL}}{{paths}}" payloads: paths: - "/php_errors.log" - "/MyErrors.log" - "/admin/error.log" - "/admin/errors.log" - "/admin/log/error.log" - "/admin/logs/error.log" - "/admin/logs/errors.log" - "/application/logs/application.log" - "/application/logs/default.log" - "/config/error_log" - "/error.log" - "/error.txt" - "/error/error.log" - "/error_log" - "/error_log.txt" - "/errors.log" - "/errors.txt" - "/errors/errors.log" - "/errors_log" - "/log.log" - "/log.txt" - "/log/error.log" - "/log/errors.log" - "/logs.txt" - "/logs/error.log" - "/logs/errors.log" - "/routes/error_log" - "/{{Hostname}}/error.log" - "/{{Hostname}}/errors.log"
stop-at-first-match: true
matchers-condition: and matchers: - type: word words: - "Segmentation Fault" - "coredump" - "script headers" - "Broken pipe" - "Array" - "Exception" - "Fatal" - "FastCGI sent in stderr" condition: or
- type: word condition: or words: - text/plain - application/octet-stream part: header
- type: status status: - 200# digest: 4b0a00483046022100d1f0be4b06abee809504604e2097fd07d92db01f77f7b8ebd60cb2d63c4e081d0221008927e65fdd2732be9a9e8e9b4b9e3b02611950e1d8405a3e9d43a1f678857d70: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/exposures/logs/error-logs.yaml"