36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
id: springboot-whitelabel
|
|
|
|
info:
|
|
name: SpringBoot WhiteLabel Error Page - Detect
|
|
author: Matt Miller
|
|
severity: info
|
|
reference:
|
|
- https://codingnconcepts.com/spring-boot/disable-whitelabel-error-page-spring-boot/
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: html:"Whitelabel Error Page"
|
|
tags: tech,spring,springboot,errorpage
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET / HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
|
|
|
|
host-redirects: true
|
|
max-redirects: 3
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "<h1>Whitelabel Error Page</h1>"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
# digest: 4a0a0047304502205b3b71ff62395f51cc210326a30c7274ae6e0b38573718a5dc6fc8571655d52e022100cd6fd5b391c050634cbd9372bca0af146c59f7896633d0e77d89305b10bf2929:922c64590222798bb761d5b6d8e72950 |