diff --git a/misconfiguration/springboot/springboot-liquidbase.yaml b/misconfiguration/springboot/springboot-liquidbase.yaml new file mode 100644 index 0000000000..844c71a726 --- /dev/null +++ b/misconfiguration/springboot/springboot-liquidbase.yaml @@ -0,0 +1,39 @@ +id: springboot-liquidbase + +info: + name: Springboot Liquidbase API + author: ELSFA7110 + severity: low + description: This liquibase endpoint provides information about database changes + reference: + - https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#liquibase + metadata: + verified: true + tags: misconfig,springboot,exposure,liquibase + +requests: + - method: GET + path: + - "{{BaseURL}}/liquibase" + - "{{BaseURL}}/actuator/liquibase" + + stop-at-first-match: true + matchers-condition: and + matchers: + - type: word + part: body + words: + - "liquibase" + + - type: word + part: header + words: + - "application/json" + - "application/vnd.spring-boot.actuator" + - "application/vnd.spring-boot.actuator.v1+json" + - "application/vnd.spring-boot.actuator.v2+json" + condition: or + + - type: status + status: + - 200