Skip to content
Path traversal Disclosed report Intermediate CVE-2020-3187

Unauthenticated Arbitrary File Deletion (CVE-2020-3187)

The web services interface of Cisco ASA and FTD software failed to properly validate the HTTP URL, allowing directory traversal. An unauthenticated remote attacker could read or delete sensitive files by sending a crafted HTTP request with traversal sequences.

3mm3 Follow

Originally disclosed on HackerOne

  • Triaged in 10 days
  • Fixed in 7 months
  • Disclosed after 9 months

Summary:

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 obtain read and delete access to sensitive files on a targeted system. The vulnerability is due to a lack of proper input validation of the HTTP URL. An attacker could exploit this vulnerability by sending a crafted HTTP request containing directory traversal character sequences.

Vulnerable Endpoint:

https://129.0.176.5/+CSCOE+/session_password.html

Steps To Reproduce:

  1. First I performed a curl request to validate that /session_password.html gave a 200 response.
  2. Example to delete logo file "/+CSCOU+/csco_logo.gif".
curl -k -H "Cookie: token=../+CSCOU+/csco_logo.gif" https://129.0.176.5/+CSCOE+/session_password.html

WHOIS

aaa.png
aaa.png From the original on HackerOne

NOTE: No destructive behavior was performed on target.

Impact

An exploit could allow the attacker to view or delete arbitrary files on the system.

The original report as published on HackerOne, by 3mm3. 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 or delete arbitrary files on the system, but no destructive behaviour was performed in this test.

What the attacker needed

Network access to the web interface; no authentication required

How it was found

  1. Send a request to the session_password.html endpoint to confirm it returns a 200 response.
  2. Send a request with a crafted cookie containing directory traversal sequences to delete a 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.

This is a flaw in Cisco security appliances where the web server did not check the file path in a request properly. An attacker could use special characters to trick the server into accessing files outside the intended folder, potentially reading or deleting them without logging in.

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 3mm3

View all

2 more disclosed reports, best first.

More from MTN Group

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.