id: springboot-autoconfig

info:
  name: Detect Springboot autoconfig Actuator
  author: pussycat0x
  severity: low
  description: Displays an auto-configuration report showing all auto-configuration candidates and the reason why they 'were' or 'were not' applied.
  metadata:
    max-request: 2
  tags: springboot,exposure,misconfig

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

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "positiveMatches"
          - "AuditAutoConfiguration#auditListener"
          - "EndpointAutoConfiguration#beansEndpoint"
        condition: and

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