CVE-2018-11770: Apache Spark - Authentication Bypass
- Cve: CVE-2018-11770
- Name: Apache Spark - Authentication Bypass
- 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'.
- Impact: Unauthorized users can submit driver programs via REST API, potentially leading to unauthorized code execution or resource abuse.
- Remediation: Disable the REST API by default and implement proper authentication mechanisms in future versions.
- Vulnerability type: broken_authentication
- Vulnerability impact: remote_code_execution, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.2
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.66067
- Epss percentile: 0.9929
- Assignee: [email protected]
- Published at: 2018-08-13T16:29:00Z
- Age in days: 3025
- Modified at: 2026-06-17T01:36:33Z
- Patch available: yes
- Public exploits total: 4
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-11770
- Nvd status: modified
- Checked, none or zero: nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-287 | Improper Authentication |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2026-01-31 | — | no |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://spark.apache.org/security.html#CVE-2018-11770 | nvd | 2018-08-13 |
| https://github.com/ivanitlearning/CVE-2018-11770 | poc-in-github | 2019-10-09 |
| https://github.com/ivanitlearning/CVE-2018-11770.git | vulncheck-xdb | 2019-10-09 |
| https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/spark_unauth_rce.rb | metasploit | 2017-12-12 |
References
| Url | Source | Tags |
|---|---|---|
| https://spark.apache.org/security.html#CVE-2018-11770 | nvd | Exploit, Mitigation, Vendor Advisory |
| https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3E | nvd | Mailing List, Third Party Advisory |
| https://www.labs.greynoise.io/grimoire/2026-01-31-weekly-oast-report/ | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:spark | >= 1.3.0, < 2.4.0 | no | nvd | /v1/products/apache/spark |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/spark | product | yes | /v1/repositories/apache/spark |
Index
- Repositories: 25
- Repositories high signal: 5
- Packages: 2
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-01-31
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 4
- Public exploit first date: 2017-12-12
- Remote: yes
- Authentication required: yes
- Exposed hosts: 609
- Checked, none or zero: known exploited, initial access
- Not known: known exploited since, nuclei template, initial access since, hackerone reports