4.2
MEDIUM
CVE-2018-11770
Apache Spark Standalone Master Unauthenticated REST API
Description

From version 1.3.0 onward, Apache Spark's standalone master exposes a REST API for job submission, in addition to the submission mechanism used by spark-submit. In standalone, the config property 'spark.authenticate.secret' establishes a shared secret for authenticating requests to submit jobs via spark-submit. However, the REST API does not use this or any other authentication mechanism, and this is not adequately documented. In this case, a user would be able to run a driver program without authenticating, but not launch executors, using the REST API. This REST API is also used by Mesos, when set up to run in cluster mode (i.e., when also running MesosClusterDispatcher), for job submission. Future versions of Spark will improve documentation on these points, and prohibit setting 'spark.authenticate.secret' when running the REST APIs, to make this clear. Future versions will also disable the REST API by default in the standalone master by changing the default value of 'spark.master.rest.enabled' to 'false'.

INFO

Published Date :

Aug. 13, 2018, 4:29 p.m.

Last Modified :

Nov. 21, 2024, 3:43 a.m.

Remotely Exploitable :

Yes !

Impact Score :

2.5

Exploitability Score :

1.6
Public PoC/Exploit Available at Github

CVE-2018-11770 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-11770 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache spark
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-11770.

URL Resource
http://www.securityfocus.com/bid/105097 Broken Link Third Party Advisory VDB Entry
https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3E Mailing List Third Party Advisory
https://spark.apache.org/security.html#CVE-2018-11770 Exploit Mitigation Vendor Advisory
http://www.securityfocus.com/bid/105097 Broken Link Third Party Advisory VDB Entry
https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3E Mailing List Third Party Advisory
https://spark.apache.org/security.html#CVE-2018-11770 Exploit Mitigation Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 3 months, 1 week ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

Python RCE exploit for Apache Spark rewritten from Metasploit module

Python

Updated: 3 years, 5 months ago
1 stars 0 fork 0 watcher
Born at : Oct. 9, 2019, 4:41 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-11770 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-11770 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Reanalysis by [email protected]

    Jun. 10, 2024

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* versions from (including) 1.3.0 OR *cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* versions from (including) 1.3.0 up to (excluding) 2.4.0
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Feb. 10, 2023

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
    Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
    Changed Reference Type http://www.securityfocus.com/bid/105097 Third Party Advisory, VDB Entry http://www.securityfocus.com/bid/105097 Broken Link, Third Party Advisory, VDB Entry
    Changed Reference Type https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3E Mailing List, Third Party Advisory
  • CVE Modified by [email protected]

    Nov. 22, 2022

    Action Type Old Value New Value
    Removed Reference https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485@%3Cdev.spark.apache.org%3E [Vendor Advisory]
    Added Reference https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3E [No Types Assigned]
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-254 CWE-254 CWE-287
  • Initial Analysis by [email protected]

    Oct. 26, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:S/C:P/I:P/A:N)
    Added CVSS V3 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
    Changed Reference Type https://spark.apache.org/security.html#CVE-2018-11770 No Types Assigned https://spark.apache.org/security.html#CVE-2018-11770 Exploit, Mitigation, Vendor Advisory
    Changed Reference Type http://www.securityfocus.com/bid/105097 No Types Assigned http://www.securityfocus.com/bid/105097 Third Party Advisory, VDB Entry
    Changed Reference Type https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485@%3Cdev.spark.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485@%3Cdev.spark.apache.org%3E Vendor Advisory
    Added CWE CWE-254
    Added CPE Configuration OR *cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* versions from (including) 1.3.0
  • CVE Modified by [email protected]

    Aug. 17, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/105097 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-11770 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

96.97 }} 0.04%

score

0.99739

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability