2021-04-22 08:15:01 +00:00
|
|
|
id: unauth-spark-api
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2021-04-22 08:15:01 +00:00
|
|
|
info:
|
2021-04-22 08:53:08 +00:00
|
|
|
name: Unauthenticated Spark REST API
|
2021-04-22 08:15:01 +00:00
|
|
|
author: princechaddha
|
2022-08-29 20:21:30 +00:00
|
|
|
severity: critical
|
2022-02-28 19:17:05 +00:00
|
|
|
description: The Spark product's REST API interface allows access to unauthenticated users.
|
2023-10-14 11:27:55 +00:00
|
|
|
remediation: Restrict access the exposed API ports.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://xz.aliyun.com/t/2490
|
2022-02-28 19:17:05 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 10
|
2022-02-28 19:17:05 +00:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: spark,unauth
|
2021-04-22 08:15:01 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-04-22 08:15:01 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/v1/submissions"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-04-22 08:15:01 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 400
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-04-22 08:18:03 +00:00
|
|
|
- type: word
|
2021-04-22 08:15:01 +00:00
|
|
|
words:
|
|
|
|
- "Missing an action"
|
|
|
|
- "serverSparkVersion"
|
|
|
|
part: body
|
2021-04-22 08:16:18 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022018b659baec610f87c26890d0fb5845caeb74f982b891f1d7962fc76f1cc74819022100fbbd51799d7374a2ec8d0ce526872a8541093e2d98a549188fca7c8890f25681:922c64590222798bb761d5b6d8e72950
|