{"schemaVersion":3,"id":"CVE-2018-11770","aliases":["GHSA-w4r4-65mg-45x2"],"status":"published","duplicateOf":null,"title":null,"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'.","dates":{"published":"2018-08-13T00:00:00.000Z","modified":"2024-08-05T08:17:09.223Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.9,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.2,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.9,"severity":"medium","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":4.2,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":4.1,"impact":4.2,"computed":true}]},"epss":{"probability":0.6583,"percentile":0.99265,"severity":"critical","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.6583},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.6583,"percentile":0.99265}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.6583,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.6583,"percentile":0.99265}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_D648D13F2BE44B6F","name":"Exploit Reference (spark.apache.org)","source":"reference","url":"https://spark.apache.org/security.html#CVE-2018-11770","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_SPARK_UNAUTH_RCE","name":"Apache Spark Unauthenticated Command Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/spark_unauth_rce.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/spark_unauth_rce","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["artifacts-on-disk","ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":2,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"apache software foundation","product":"apache spark","name":"Apache Spark","label":"apache spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.3.0, < 2.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.0, < 2.4.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_spark"},{"vendor":"apache","product":"spark","name":"Spark","label":"spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.3.0, < 2.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.0, < 2.4.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-spark","label":"Apache Spark","category":"server-app"}},"hubHref":"/vendor/apache/spark"},{"vendor":"org.apache.spark","product":"spark-core_2.10","name":"org.apache.spark:spark-core_2.10","label":"spark-core_2.10","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-core_2.10","purlType":"maven","versions":[{"text":"≥ 1.0.0, ≤ 2.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, ≤ 2.2.2","eol":null,"hubHref":null},{"vendor":"org.apache.spark","product":"spark-core_2.11","name":"org.apache.spark:spark-core_2.11","label":"spark-core_2.11","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-core_2.11","purlType":"maven","versions":[{"text":"≥ 1.0.0, ≤ 2.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, ≤ 2.3.2","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spark.apache.org/security.html#CVE-2018-11770","label":"spark.apache.org/security.html","hostname":"spark.apache.org","tags":["X Refsource CONFIRM","Exploit","Mitigation","Vendor Advisory","WEB"]},{"url":"https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory","WEB"]},{"url":"http://www.securityfocus.com/bid/105097","label":"www.securityfocus.com/bid/105097","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Broken Link","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-11770","label":"nvd.nist.gov/vuln/detail/CVE-2018-11770","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485@%3Cdev.spark.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://web.archive.org/web/20200227114942/http://www.securityfocus.com/bid/105097","label":"web.archive.org/web/20200227114942/http://www.securityfocus.com/bid/105097","hostname":"web.archive.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-08-13T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T08:17:09.223Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T05:24:52.760Z","stale":false,"partial":false}}