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

https://████ is vulnerable to cve-2020-3452

The Cisco ASA/FTD web services interface failed to validate URL input, allowing directory traversal. An unauthenticated attacker could read files within the web services file system, such as portal_inc.lua.

moon_shadow Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 18 hours
  • Fixed in 18 days
  • Disclosed after 7 months

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. 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. 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.

Impact

Step-by-step Reproduction Instructions

to reproduce run the below curl command, and you will see the content of portal_inc.lua

curl -ik 'https://█████████/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/portal_inc.lua&default-language&lang=../'

Impact

A successful exploit could allow the attacker to view arbitrary files within the web services file system on the targeted device

The original report as published on HackerOne, by moon_shadow. 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 unauthenticated remote attacker could view arbitrary files within the web services file system, but not system or OS files.

What the attacker needed

WebVPN or AnyConnect enabled on the device; Network access to the web services interface

How it was found

  1. Send a crafted HTTP request to the affected device's web services interface containing directory traversal sequences.
  2. Observe the contents of a file from the web services file system in the response.

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.

The web server on a Cisco security device accepted a web address containing '..' sequences, which normally mean 'go up a folder'. Because it did not check these, someone without logging in could ask for files outside the intended web folder and read them.

What is Path traversal?

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

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.