Skip to content
Path traversal Disclosed report Beginner CVE-2020-3452

Read-only path traversal (CVE-2020-3452) at https://████████

The web services interface of Cisco ASA/FTD did not properly validate URLs, allowing directory traversal sequences in HTTP requests. An unauthenticated attacker could read arbitrary files within the web services file system, potentially impersonating another VPN user.

raginalstorm Follow

Originally disclosed on HackerOne

  • Triaged in 35 hours
  • Fixed in 6 months
  • Disclosed after 8 months

Summary: I discovered a vulnerability Read-only path traversal (CVE-2020-3452) at https://████████

Description: A vulnerability in the web services interface of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to conduct directory traversal attacks and read sensitive files on a targeted system. The vulnerability is due to a lack of proper input validation of URLs in HTTP requests processed by an affected device.

Impact

An attacker could exploit this vulnerability by sending a crafted HTTP request containing directory traversal character sequences to an affected device. A successful exploit could allow the attacker to view arbitrary files within the web services file system on the targeted device. As an example, this could allow an attacker to impersonate another VPN user and establish a Clientless SSL VPN or AnyConnect VPN session to the device as that user. The web services file system is enabled when the affected device is configured with either WebVPN or AnyConnect features. This vulnerability cannot be used to obtain access to ASA or FTD system files or underlying operating system (OS) files.

Step-by-step Reproduction Instructions

  • In a web browser, navigate to https://███████/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/portal_inc.lua&default-language&lang=../

  • Once URL is fully loaded, you will be prompted to download file translation-table that represents portal_inc.lua which you can then open and observe its content.

████████ █████

  • Alternatively, you can execute the below linux bash terminal command to download that same file portal_inc.lua:
curl -k "https://███████/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/portal_inc.lua&default-language&lang=../" --output portal_inc.lua 
  • You can download various internal files using curl flag --output to output the binary data to a file:
curl -k "https://████████/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/session.js&default-language&lang=../" --output session.js 

Product, Version, and Configuration (If applicable)

WebApp endpoint

Suggested Mitigation/Remediation Actions

Impact

An attacker could exploit this vulnerability by sending a crafted HTTP request containing directory traversal character sequences to an affected device. A successful exploit could allow the attacker to view arbitrary files within the web services file system on the targeted device. As an example, this could allow an attacker to impersonate another VPN user and establish a Clientless SSL VPN or AnyConnect VPN session to the device as that user. The web services file system is enabled when the affected device is configured with either WebVPN or AnyConnect features. This vulnerability cannot be used to obtain access to ASA or FTD system files or underlying operating system (OS) files.

The original report as published on HackerOne, by raginalstorm. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could view arbitrary files within the web services file system, which could allow impersonating another VPN user and establishing a VPN session as that user; system and OS files are not accessible.

What the attacker needed

Target runs vulnerable Cisco ASA/FTD; WebVPN or AnyConnect enabled; No authentication needed

The fix

Cisco released software updates to address the vulnerability; no workarounds exist.

How it was found

  1. Open a browser and visit the crafted URL containing traversal sequences and the target file name.
  2. The browser prompts to download a file named translation-table, which contains the contents of the requested internal file.
  3. Alternatively, use a curl command with the same URL and an output flag to save the file locally.
  4. Change the file name in the URL to download other internal files such as session.js.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A path traversal bug lets someone use '..' in a web address to step out of the intended folder and read files they should not see. Here, the VPN appliance's web service did not check the address properly, so an outsider could download internal files without logging in.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by raginalstorm

View all

2 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.