{"id":"CVE-2018-11770","published":"2018-08-13T00:00:00Z","modified":"2024-08-05T08:17:09Z","title":"From version 1.3.0 onward, Apache Spark's standalone master exposes a REST API for job submission, in addition to the…","vendor":"Apache Software Foundation","product":"Apache Spark","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Spark","versions":[">= 1.3.0, < 2.4.0"]}],"description":{"text":"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'.","provenance":"source","from":"CVE.org"},"summary":{"text":"Apache Spark's standalone master exposes a REST API for job submission (from version 1.3.0 onward) that does not enforce the shared-secret authentication used by spark-submit, so the flaw lies in that REST submission interface. An attacker with network access to the standalone master can run a driver program without authenticating, though they cannot launch executors through this API.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:18:54Z"},"cvss":null,"epss":{"score":0.6583,"percentile":0.99266,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-01-31","exploitedFirstSeen":"2026-01-31","ransomware":false,"evidence":[{"url":"https://www.labs.greynoise.io/grimoire/2026-01-31-weekly-oast-report/","date":"2026-01-31"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://spark.apache.org/security.html#CVE-2018-11770","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/105097","tags":["vdb-entry","x_refsource_BID"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.apache.spark:spark-core_2.11","vulnerableRanges":[">=1.0.0, <=2.3.2"],"patched":[],"from":["GHSA-w4r4-65mg-45x2"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.spark:spark-core_2.10","vulnerableRanges":[">=1.0.0, <=2.2.2"],"patched":[],"from":["GHSA-w4r4-65mg-45x2"],"provenance":"source"}],"advisories":[{"id":"GHSA-w4r4-65mg-45x2","url":"https://github.com/advisories/GHSA-w4r4-65mg-45x2","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.spark:spark-core_2.11","vulnerableRanges":[">=1.0.0, <=2.3.2"],"patched":[],"provenance":"source","from":"GHSA"},{"id":"GHSA-w4r4-65mg-45x2","url":"https://github.com/advisories/GHSA-w4r4-65mg-45x2","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.spark:spark-core_2.10","vulnerableRanges":[">=1.0.0, <=2.2.2"],"patched":[],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2018-0781","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-0781","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2019-10-09","earliestUrl":"https://github.com/ivanitlearning/CVE-2018-11770","repos":[{"name":"ivanitlearning/CVE-2018-11770","url":"https://github.com/ivanitlearning/CVE-2018-11770","stars":1,"created":"2019-10-09"}]},"metasploit":[{"name":"Apache Spark Unauthenticated Command Execution","module":"exploit/linux/http/spark_unauth_rce","type":"exploit","disclosureDate":"2017-12-12","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/spark_unauth_rce.rb"}],"first":{"date":"2017-12-12","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/spark_unauth_rce.rb"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2017-12-12","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2019-10-09","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/spark_unauth_rce.rb","provenance":"source"},{"date":"2018-08-13","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2018-11770","provenance":"source"},{"date":"2026-01-31","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.labs.greynoise.io/grimoire/2026-01-31-weekly-oast-report/","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":64.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 271 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.85,"detail":"percentile 0.9927"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}