Detection for Java Spring (#4012)

* Updated CVE-2022-22963

* Added Spring Detect Template

* Added Spring Detect Template

* Added Status Code Check

* Updated Status Code Check

* Update spring-detect.yaml

* misc update

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
patch-1
Adam Crosser 2022-03-31 11:48:10 -05:00 committed by GitHub
parent a26950ce1b
commit dec2ff4022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
id: spring-detect
info:
name: Java Spring Detection
author: Adam Crosser
severity: info
reference:
- https://mkyong.com/spring-boot/spring-rest-error-handling-example/
tags: tech,java,spring
requests:
- method: GET
path:
- "{{BaseURL}}/error"
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"status":999'
case-insensitive: true
- type: status
status:
- 500