Skip to content
XSS Write-up Intermediate

Oracle Application Express (AnyChart) Flash-based Cross-Site Scripting Vulnerability

The OracleAnyChart.swf file fails to sanitise user input passed through the __externalobjid GET parameter before using it in ExternalInterface.call(), allowing reflected cross-site scripting. An attacker could trick a victim into opening a crafted URL to execute script in the victim's browser.

karmainsecurity.com

Published on karmainsecurity.com

The vulnerability is located in the OracleAnyChart.swf file. User input passed through the "externalobjid" GET parameter is not properly sanitized before being passed to the ExternalInterface.call() method.

The author, on karmainsecurity.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

Impact

An attacker could run script in a victim's browser in the context of the Oracle Application Express site, which could lead to theft of session data or other actions as the victim.

What the attacker needed

Victim clicks a crafted link; Flash enabled in the victim's browser

The fix

The issue was fixed by updating to version 5.1.4.00.08.

How it was found

  1. Craft a URL that puts script code in the __externalobjid parameter.
  2. Send the URL to a victim and get them to open it.
  3. The Flash file passes the value to ExternalInterface.call(), running the script.

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.

A Flash file on the Oracle Application Express site takes a value from the web address and passes it to a JavaScript bridge without cleaning it. Because the value is not cleaned, an attacker can put script code in the link. When a victim opens that link, the script runs as if it came from the trusted site.

What is XSS?

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

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.