From 5e708e14d359483ae9dc490855448754fb481983 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Tue, 23 Aug 2022 10:00:25 +0530 Subject: [PATCH] Create springboot-liquidbase.yaml --- .../springboot/springboot-liquidbase.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 misconfiguration/springboot/springboot-liquidbase.yaml 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