PT-2018-10814 · Apache · Apache Spark

Fengwei Zhang

+1

·

Publicado

2018-08-13

·

Atualizado

2024-06-10

·

CVE-2018-11770

CVSS v2.0

4.9

Média

VetorAV:N/AC:M/Au:S/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions Apache Spark versions 1.3.0 and later
Description The issue concerns Apache Spark's standalone master, which exposes a REST API for job submission without using any authentication mechanism, unlike the submission mechanism used by spark-submit. This is because the config property spark.authenticate.secret does not apply to the REST API, allowing a user to run a driver program without authenticating, although they cannot launch executors. The REST API is also utilized by Mesos in cluster mode for job submission. Future versions of Spark will enhance documentation, prohibit setting spark.authenticate.secret when running the REST APIs, and disable the REST API by default in the standalone master by changing the default value of spark.master.rest.enabled to 'false'.
Recommendations For Apache Spark versions 1.3.0 and later, consider disabling the REST API by setting spark.master.rest.enabled to 'false' until a patch is available. As a temporary workaround, restrict access to the REST API to minimize the risk of exploitation. Avoid using the spark.authenticate.secret property when running the REST API, as it does not provide authentication for REST API job submissions.

Exploit

Correção

Improper Authentication

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2018-11770
GHSA-W4R4-65MG-45X2

Produtos afetados

Apache Spark