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

███ is vulnerable to CVE-2020-3452 Read-Only Path Traversal Vulnerability

The web server on a Cisco device does not properly sanitise URL parameters in the translation-table and oem-customization endpoints, allowing directory traversal. An attacker can read files inside the webroot that are not normally accessible, such as source code and authentication pages.

secret_letters Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 17 days
  • Disclosed after 20 days

Summary: ████████ is vulnerable to Read-Only Path Traversal Vulnerability as described at https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-ro-path-KJuQhB86

Description: Get request parameters at the /+CSCOT+/translation-table and the /+CSCOT+/oem-customization are not properly sanitized which allows for reading files within the webroot directory that are not intended to be readable.

According to Cisco: 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.

Step-by-step Reproduction Instructions

In Browser:

  1. Copy and paste into your browser: ███/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/portal_inc.lua&default-language&lang=../"
  2. Note the file being requested to be download. This will be the source code for portal_inc.lua which is not normally accessible.

##In curl:

  1. curl -k "████████/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/portal_inc.lua&default-language&lang=../" to prove you can read internal files such as the /+CSCOE+/portal_inc.lua file.
  2. Various internal files can be read, and some require using the --output command to output the data to a file as shown in step 3.
  3. curl -k "█████████/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/http_auth.html&default-language&lang=../" --output session.js

Product, Version, and Configuration (If applicable)

AnyConnect SSL VPN -webvpn Clientless SSL VPN - webvpn

Suggested Mitigation/Remediation Actions

Update the software to the latest version via the Cisco advisory linked above in the Summary.

Impact

An attacker can view arbitrary files within the web services file system on the targeted device that are meant to be internal or confidential. The web services file system is enabled when the affected device is configured with either WebVPN or AnyConnect features. CVSS Score: Base 7.5 Vector: https://tools.cisco.com/security/center/cvssCalculator.x?version=3.1&vector=CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

The original report as published on HackerOne, by secret_letters. 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

Root cause

Likely the application fails to validate or sanitise directory traversal sequences in the lang parameter of the translation-table endpoint, allowing path traversal outside the intended directory.

Impact

An attacker can view arbitrary files within the web services file system on the targeted device that are meant to be internal or confidential.

What the attacker needed

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

The fix

The software should be updated to the latest version as described in the Cisco advisory.

How it was found

  1. Send a request to the translation-table endpoint with a crafted lang parameter containing directory traversal characters.
  2. Observe that the response contains the contents of an internal file such as portal_inc.lua.
  3. Use curl with the --output option to save other internal files like http_auth.html.

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 web server on a network device is supposed to show only certain files to visitors. Because it fails to clean up special characters in the web address, someone can ask for files outside the intended folder. This lets them download internal files like source code that should stay hidden.

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.