CVE-2020-3452, unauthenticated file read in Cisco ASA & Cisco Firepower.
Cisco ASA and Firepower devices were vulnerable to an unauthenticated path traversal that let a remote attacker read sensitive files on the system. The report demonstrates reading a specific Lua file through a crafted URL.
- Triaged in 2 hours
- Fixed in 27 days
- Disclosed after 29 days
Summary: #The affected IP: █████
Here is POC of CVE-2020-3452, unauthenticated file read in Cisco ASA & Cisco Firepower. For example to read "/+CSCOE+/portal_inc.lua" file.
for example:
████/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/portal_inc.lua&default-language&lang=../
Suggested Mitigation/Remediation Actions
Cisco has released the fix https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-ro-path-KJuQhB86
Impact
This vulnerability allows an unauthenticated, remote attacker to perform directory traversal attacks and read sensitive files on the system.
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 web interface failed to properly sanitise the language and textdomain parameters, allowing directory traversal sequences to reach files outside the intended directory.
What the attacker needed
Network access to the device's web interface; no authentication required
The fix
Cisco released a fix for the vulnerability.
How it was found
- Send a request to the device's translation-table endpoint with a crafted type, textdomain and lang parameter.
- The server resolves the traversal and returns 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 path traversal bug lets someone trick a web server into reading files outside the folder it is supposed to serve. Here, a specially crafted web address made the Cisco device hand back a file it should not have shown to anyone who was not logged in. The attacker did not need an account or any special access.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.