id: springboot-auditevents

info:
  name: Spring Boot AuditEvents Actuator Panel - Detect
  author: DhiyaneshDK
  severity: info
  description: Spring Boot Auditevents 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
    cpe: cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    shodan-query: title:"Eureka"
    product: spring_boot
    vendor: vmware
  tags: misconfig,springboot,exposure

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

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{"events":'

      - 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: 4a0a004730450221009750e53dec08801a40cd2e73a5b17043c9785f5615f46e76c32b9a9eee0a8ed802202b98faa478e0270b8c42131693fffad8ceb9b692f38e049de8782c72e2868b6d:922c64590222798bb761d5b6d8e72950