Cassandra Web CVE-2020-36939
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed cassandra-web instance
-
DeliverySend request with path traversal sequences
-
ExploitBypass disabled Rack::Protection
-
ExecutionRead arbitrary files (/etc/passwd, config)
-
ImpactExfiltrate Cassandra DB credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a running cassandra-web 0.5.0 instance that is network-reachable by the attacker; exploitation needs no authentication, no user interaction, and no special configuration because Rack::Protection's path-traversal check is disabled by default in this version, so default deployments are vulnerable out of the box. The primary limiting factor is exposure and deployment scale: the product is a niche administrative web UI, so risk depends almost entirely on whether an instance is reachable from untrusted networks rather than on any attacker-side difficulty. Impact is read-only (confidentiality) - an attacker can disclose files such as /etc/passwd and Cassandra credential/config files but cannot directly modify data or affect availability through this flaw. |
| Impact | Signals are moderately aligned toward a credible but not top-tier priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remote, low-complexity, unauthenticated attack with no user interaction, and VC:H/VI:N/VA:N correctly scopes impact to confidentiality only - consistent with a read-only directory traversal. A public exploit exists (Exploit-DB 49362), which raises practical ease of exploitation. However, EPSS is only 0.66% (71st percentile), and the CVE is NOT on CISA KEV, indicating no evidence of widespread or confirmed active exploitation despite the available POC. The tension to note explicitly: trivially exploitable + public POC would normally imply high real-world risk, but the low EPSS and absence of KEV strongly suggest this is constrained by the very limited deployment footprint of cassandra-web rather than by exploit difficulty. The confidentiality impact is meaningful - the description states attackers can read /etc/passwd and, more importantly, retrieve Apache Cassandra database credentials, enabling downstream compromise. Net: a genuine, easily-exploited bug that is a high priority ONLY for the small set of organizations actually running cassandra-web 0.5.0 exposed to untrusted networks; for everyone else the real-world risk is low because the product is rarely deployed. |
| Exploit ScenarioDerived | An attacker locates an internet- or network-exposed cassandra-web 0.5.0 instance and sends a crafted request with path traversal sequences (e.g. ../../../../etc/passwd) to the file-serving endpoint. Because Rack::Protection's path-traversal defense is disabled in this version, the server returns arbitrary files, including configuration files containing Apache Cassandra credentials. A public POC (Exploit-DB 49362) already automates this, requiring no authentication or user interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 08, 2026
Unauthenticated directory traversal in Cassandra Web 0.5.0 lets remote attackers read arbitrary files from the host running the web UI, including /etc/passwd and the Apache Cassandra credential/configuration files used by the application. The flaw is exploitable out of the box because the Rack::Protection path-traversal guard is disabled in this version, so no authentication, user interaction, or special configuration is required; the only real prerequisite is that a cassandra-web 0.5.0 instance be reachable from an untrusted network. Publicly available exploit code exists (Exploit-DB 49362) and EPSS is 0.66% (71st percentile); there is no KEV listing, so active exploitation is unconfirmed, but the exposure is read-only file disclosure rather than code execution or data modification.
Earlier versions of this analysis (1)
Cassandra Web 0.5.0 contains a directory traversal vulnerability that allows unauthenticated attackers to read arbitrary files by manipulating path traversal parameters. [CVSS 7.5 HIGH]
RemediationAI
Remove or upgrade Cassandra Web 0.5.0 - no fixed version is specified in the supplied references, so contact the upstream project at https://github.com/avalanche123/cassandra-web and monitor the gem page at https://rubygems.org/gems/cassandra-web/versions/0.5.0 for a patched release; treat this as 'no vendor-released patched version identified at time of analysis' rather than a permanent condition. Until a fix ships, the primary compensating control is network restriction: bind the service to loopback or place it behind an authenticating reverse proxy / VPN and block it from untrusted networks, since default deployments are exploitable with no authentication and this eliminates the exposure almost entirely. Secondary mitigations carry trade-offs - re-enabling Rack::Protection (including its path-traversal middleware) in the application stack restores the intended guard, but it is an application code change that may alter routing behavior and must be regression-tested; running the process as an unprivileged account in a restricted filesystem namespace limits which files a successful traversal can reach but does not fix the flaw; and rotating any Cassandra credentials, config secrets, or tokens that were readable by the web process is warranted if exposure is suspected, since the disclosed files can include database authentication material. WAF or proxy rules blocking encoded '..' traversal sequences in request paths can add a layer, though bypass encodings make this unreliable on its own. Device a patched release exists, apply it and re-verify that Rack::Protection is enabled in the deployed configuration, referencing the VulnCheck advisory at https://www.vulncheck.com/advisories/cassandra-web-remote-file-read.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in rubygems
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cassandra Web is a Ruby (Rack-based) administrative web front end for Apache Cassandra, distributed as the cassandra-web gem (version 0.5.0 affected). The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), i.e. path traversal: user-supplied path parameters are used to resolve filesystem paths without canonicalization or containment checks, allowing '../' sequences to escape the intended directory. Compounding the flaw, the application disables Rack::Protection, the standard middleware set that would normally include a path-traversal check, so the built-in defense is absent by default - this is a configuration/design decision baked into the shipped version, not an operator misconfiguration. Because the traversal is exercised over HTTP with no authentication step, the confidentiality impact is total for files readable by the process user (passwd entries, Cassandra config and credential material); integrity and availability are unaffected, consistent with the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N vector and the read-only impact profile.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Remote, low-complexity, unauthenticated file read with no user interaction (AV:N/AC:L/PR:N/UI:N); confidentiality-only impact (C:H, I:N, A:N) and no scope change in the traversal itself.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
4DescriptionCVE.org
Cassandra Web 0.5.0 contains a directory traversal vulnerability that allows unauthenticated attackers to read arbitrary files by manipulating path traversal parameters. Attackers can exploit the disabled Rack::Protection module to read sensitive system files like /etc/passwd and retrieve Apache Cassandra database credentials.
Executive ViewAI
Internet- or network-reachable deployments of Cassandra Web 0.5.0 allow an outside party to read arbitrary files from the underlying host, including operating system password files and the Apache Cassandra credentials and configuration stored alongside the application. Because the affected web UI is frequently stood up as an administrative convenience and is often reachable without strong network boundaries, this represents a direct exposure of database secrets that could be leveraged for lateral movement into the Cassandra data environment. Leadership should care because the primary impact is credential and configuration disclosure affecting the integrity of the organization's data platform, even though no code execution or data modification has been demonstrated.
No vendor-released patch identified at time of analysis. Interim mitigations: remove external/network reachability of the Cassandra Web 0.5.0 listener, restrict it to a hardened management segment, front it with an authenticated reverse proxy, restrict file system permissions so Cassandra credentials and configuration are unreadable by the web process, and rotate any exposed Cassandra credentials. Publicly available exploit code exists for this traversal flaw, so network isolation should be treated as urgent rather than optional.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
GHSA-8mfv-xhp5-48q9
NVD
CVE.org
EPSS
Exploit-DB