Publicly accessible access-log file
ID: access-log-file
Severity: low
Author: sheikhrishad
Tags: logs,exposure
Description
Section titled “Description”Log file was exposed.
YAML Source
Section titled “YAML Source”id: access-log-file
info: name: Publicly accessible access-log file author: sheikhrishad severity: low description: Log file was exposed. metadata: max-request: 4 tags: logs,exposure
http: - method: GET path: - "{{BaseURL}}/access.log" - "{{BaseURL}}/log/access.log" - "{{BaseURL}}/logs/access.log" - "{{BaseURL}}/application/logs/access.log"
matchers-condition: and matchers: - type: word words: - '"GET /'
- type: word words: - "text/plain" part: header
- type: status status: - 200# digest: 490a0046304402200bc259f5eed1637129a4da317177abe9f9b3553465af01809163320e85cf89c10220524ad81ee1e263c93f3a57372dcb71e3094861cd986a9ffab8ba82f434d1b442: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/access-log.yaml"