CVE-2018-11770
Last modified
CVE-2018-11770 is a medium-severity vulnerability rated 4.2/10 on the CVSS scale. 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. EPSS estimates a 65.94% chance of exploitation in the next 30 days.
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'.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Spark | >= 1.3.0, < 2.4.0 |
References
- http://www.securityfocus.com/bid/105097Broken Link, Third Party Advisory, VDB Entry
- https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3EMailing List, Third Party Advisory
- https://spark.apache.org/security.html#CVE-2018-11770Exploit, Mitigation, Vendor Advisory
- http://www.securityfocus.com/bid/105097Broken Link, Third Party Advisory, VDB Entry
- https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3EMailing List, Third Party Advisory
- https://spark.apache.org/security.html#CVE-2018-11770Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-11770?
How severe is CVE-2018-11770?
How do I fix CVE-2018-11770?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-11765In Apache Hadoop versions 3.0.0-alpha2 to 3.0.0, 2.9.0 to 2.…7.5
- CVE-2018-11766In Apache Hadoop 2.7.4 to 2.7.6, the security fix for CVE-20…
- CVE-2018-11767In Apache Hadoop 2.9.0 to 2.9.1, 2.8.3 to 2.8.4, 2.7.5 to 2.…
- CVE-2018-11768In Apache Hadoop 3.1.0 to 3.1.1, 3.0.0-alpha1 to 3.0.3, 2.9.…7.5
- CVE-2018-11769CouchDB administrative users before 2.2.0 can configure the …
- CVE-2018-1177This vulnerability allows remote attackers to execute arbitr…
- CVE-2018-11771When reading a specially crafted ZIP archive, the read metho…5.5
- CVE-2018-11772Apache VCL versions 2.1 through 2.5 do not properly validate…
- CVE-2018-11773Apache VCL versions 2.1 through 2.5 do not properly validate…
- CVE-2018-11774Apache VCL versions 2.1 through 2.5 do not properly validate…
- CVE-2018-11775TLS hostname verification when using the Apache ActiveMQ Cli…
- CVE-2018-11776Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffe…8.1
Are you affected by CVE-2018-11770?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
