38 lines
982 B
YAML
38 lines
982 B
YAML
id: unauth-spark-api
|
|
|
|
info:
|
|
name: Unauthenticated Spark REST API
|
|
author: princechaddha
|
|
severity: critical
|
|
description: The Spark product's REST API interface allows access to unauthenticated users.
|
|
remediation: Restrict access the exposed API ports.
|
|
reference:
|
|
- https://xz.aliyun.com/t/2490
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
cvss-score: 10
|
|
cwe-id: CWE-77
|
|
metadata:
|
|
max-request: 1
|
|
tags: spark,unauth
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/v1/submissions"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 400
|
|
|
|
- type: word
|
|
words:
|
|
- "Missing an action"
|
|
- "serverSparkVersion"
|
|
part: body
|
|
condition: and
|
|
|
|
# digest: 4a0a00473045022018b659baec610f87c26890d0fb5845caeb74f982b891f1d7962fc76f1cc74819022100fbbd51799d7374a2ec8d0ce526872a8541093e2d98a549188fca7c8890f25681:922c64590222798bb761d5b6d8e72950
|