nuclei-templates/http/technologies/springboot-whitelabel.yaml

35 lines
857 B
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:
max-request: 1
shodan:query: html:"Whitelabel Error Page"
verified: true
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"