CVE-2020-37015
Directory Traversal in Ruijie Switch eWeb Allows Sensitive File Access
Publication date: 2026-01-29
Last updated on: 2026-01-29
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| ruijie_networks | switch_eweb | 11.4(1)b12p11 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
This vulnerability allows unauthenticated attackers to access sensitive configuration files containing credentials and network settings, which could lead to unauthorized disclosure of personal or sensitive data. Such exposure may result in non-compliance with data protection regulations like GDPR and HIPAA that require safeguarding sensitive information and ensuring confidentiality. Therefore, exploitation of this vulnerability could negatively impact compliance with these standards. [1]
Can you explain this vulnerability to me?
This vulnerability is a directory traversal flaw in Ruijie Networks Switch eWeb S29_RGOS version 11.4. It allows unauthenticated attackers to manipulate file path parameters in HTTP requests to the /download.do endpoint, enabling them to access arbitrary files on the device's filesystem. By exploiting this, attackers can retrieve sensitive configuration files containing device version, hostname, user credentials (usernames and passwords), and network settings. [1]
How can this vulnerability impact me? :
Exploiting this vulnerability can lead to unauthorized disclosure of sensitive information such as device configuration, user credentials, and network settings. This can allow attackers to gain further access to the network, compromise the device, or use the information for additional attacks, potentially leading to security breaches and operational disruptions. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by sending crafted HTTP GET requests to the /download.do endpoint of the Ruijie Networks Switch eWeb S29_RGOS 11.4 web interface, attempting directory traversal via the file parameter. For example, a command using curl would be: curl -v "http://<target-ip>/download.do?file=../../../../config.text". If the response contains sensitive configuration data such as device version, hostname, or user credentials, the system is vulnerable. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting access to the web interface of the Ruijie Networks Switch to trusted networks only, disabling or blocking access to the /download.do endpoint if possible, and applying any available firmware updates or patches from the vendor that address this directory traversal vulnerability. Additionally, monitor network traffic for suspicious requests targeting the /download.do endpoint. [1]