id: springboot-loggerconfig

info:
  name: Spring Boot LoggerConfig Actuator Panel - Detect
  author: DhiyaneshDK
  severity: info
  description: Spring Boot LoggerConfig Actuator panel was detected.
  reference:
    - https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 2
    shodan-query: title:"Eureka"
  tags: misconfig,springboot,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/loggingConfig"
      - "{{BaseURL}}/actuator/loggingConfig"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '["loggingConfig"]'
          - '"propertySources"'
        condition: and

      - type: word
        part: header
        words:
          - "application/json"
          - "application/vnd.spring-boot.actuator"
          - "application/vnd.spring-boot.actuator.v1+json"
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a00473045022013556d240b035195bf686ffe17e636530115840faeec46a8377b4cc25d9624a2022100cd451e68b6fe14f9b0ca3eb6965d7c0231be648373a7c92cd46c6d780da7af6a:922c64590222798bb761d5b6d8e72950