Skip to content
XSS Write-up Intermediate

Cisco Finesse Remote File Inclusion (CVE-2024–20405)

The Cisco Finesse web management interface failed to validate user-supplied input in specific HTTP requests, allowing an attacker to make the server fetch a remote XML gadget file. By hosting a malicious gadget and persuading a user to load a crafted link, the attacker could run script in the context of the affected interface.

0x3zzat Follow

Published on 0x3zzat.medium.com

A vulnerability in the web-based management interface of Cisco Finesse could allow an unauthenticated, remote attacker to conduct a stored XSS attack by exploiting an RFI vulnerability. This vulnerability is due to insufficient validation of user-supplied input for specific HTTP requests sent to an affected device.

Abdelrahman Ezzat, on 0x3zzat.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the gadget-loading endpoint accepted an arbitrary remote URL for the gadget definition without restricting it to trusted local sources, so attacker-hosted XML was rendered in the interface.

Impact

A successful exploit could allow the attacker to execute arbitrary script code in the context of the affected interface or access sensitive information on the affected device, though the victim must be persuaded to click a crafted link.

What the attacker needed

Victim clicks a crafted link; attacker hosts a file on a reachable server; target Finesse interface reachable

How it was found

  1. Create a local directory structure matching the gadget path used by the application.
  2. Place a malicious gadget configuration file in that directory containing script.
  3. Start a local web server to host the malicious configuration file.
  4. Send a crafted request to the gadget endpoint with the url parameter pointing at the attacker-hosted file.
  5. Observe the target server fetching the remote configuration file.
  6. Observe the malicious script running after the file is included.

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 write-up has not been written yet. The Original tab links to the source.

The web interface accepted a web address from the request and fetched that file from the internet without checking where it came from. The attacker put a small file on their own server containing script, and the victim's browser then ran that script as if it came from the trusted site. This is called remote file inclusion, where a server loads a file from an outside location it should not trust.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by 0x3zzat

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.