2021-01-11 06:58:56 +00:00
|
|
|
id: exposed-alps-spring
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Exposed Spring Data REST Application-Level Profile Semantics (ALPS)
|
|
|
|
author: dwisiswant0
|
|
|
|
severity: medium
|
2024-01-02 16:16:15 +00:00
|
|
|
description: Exposed Spring Data profile semantics is exposed.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://niemand.com.ar/2021/01/08/exploiting-application-level-profile-semantics-apls-from-spring-data-rest/
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 3
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: exposure,spring,files
|
2021-01-11 06:58:56 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-01-11 06:58:56 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/profile"
|
|
|
|
- "{{BaseURL}}/api/profile"
|
|
|
|
- "{{BaseURL}}/alps/profile"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-01-11 06:58:56 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "_links"
|
|
|
|
- "/alps/"
|
|
|
|
- "profile"
|
|
|
|
condition: and
|
|
|
|
part: body
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-01-11 06:58:56 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "application/hal+json"
|
|
|
|
part: header
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-01-11 06:58:56 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 490a0046304402200703b103b73e6c9bfffc56b77551a83932ef1f4e983b9075e82b4a2128ffff800220240eb935da994b34aa984e070bd64175bee530216e73e19f9af3add0ee595d5e:922c64590222798bb761d5b6d8e72950
|