Skip to content

Log4j Properties - File Disclosure

ID: log4-properties

Severity: low

Author: DhiyaneshDk

Tags: exposure,files,log4j,oracle

Log4j Properties file is exposed.

id: log4-properties
info:
name: Log4j Properties - File Disclosure
author: DhiyaneshDk
severity: low
description: |
Log4j Properties file is exposed.
reference:
- https://docs.oracle.com/cd/E29578_01/webhelp/cas_webcrawler/src/cwcg_config_log4j_file.html
metadata:
verified: true
max-request: 1
shodan-query: html:"log4j.properties"
tags: exposure,files,log4j,oracle
http:
- method: GET
path:
- '{{BaseURL}}/log4j.properties'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'log4j.rootLogger='
- 'log4j.logger'
condition: and
case-insensitive: true
- type: status
status:
- 200
# digest: 4a0a00473045022100dec54cf6fef253eaf377adb20cf967352a409915c7cc8f5eaec3b4648d4c0c4402200a7fb5417ef54708d0a12930a97f0d0ceeac87f9302ba3fbcc82d001c8bc1832:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/exposures/files/log4-properties.yaml"

View on Github