Create exposed-alps-spring.yaml

patch-1
team-projectdiscovery 2021-01-11 13:21:50 +05:30
parent 101abb2df3
commit 2d28f321ab
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
id: exposed-alps-spring
info:
name: Exposed Spring Data REST Application-Level Profile Semantics (ALPS)
author: dwisiswant0
severity: medium
# https://niemand.com.ar/2021/01/08/exploiting-application-level-profile-semantics-apls-from-spring-data-rest/
requests:
- method: GET
path:
- "{{BaseURL}}/profile"
- "{{BaseURL}}/api/profile"
- "{{BaseURL}}/alps/profile"
- "{{BaseURL}}:8080/profile"
- "{{BaseURL}}:8080/api/profile"
- "{{BaseURL}}:8080/alps/profile"
matchers-condition: and
matchers:
- type: word
words:
- "_links"
- "/alps/"
- "profile"
condition: and
part: body
- type: word
words:
- "application/hal+json"
part: header
- type: status
status:
- 200