Merge pull request #743 from dwisiswant0/add/exposed-alps-spring

Add Exposed Spring Data REST ALPS
patch-1
PD-Team 2021-01-09 17:11:03 +05:30 committed by GitHub
commit 90c9b657c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: exposed-alps-spring
info:
name: Exposed Spring Data REST Application-Level Profile Semantics (ALPS)
author: dwisiswant0
severity: medium
reference: 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"
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