Skip to content
XSS Advisory Beginner CVE-2016-8719

Moxa AWK-3131A Web Application Multiple Reflected Cross-Site Scripting Vulnerabilities

The web application on the Moxa AWK-3131A access point reflects user input from several parameters without sanitisation, allowing an attacker to inject JavaScript. An attacker could steal a victim's session token and impersonate them.

Patrick DeSantis Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An exploitable reflected Cross-Site Scripting vulnerability exists in the Web Application functionality of Moxa AWK-3131A Wireless Access Point running firmware 1.1. Specially crafted input, in multiple parameters, can cause a malicious scripts to be executed by a victim.

Patrick DeSantis, on Cisco Talos

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

How it worked

Root cause

Likely the web application fails to sanitise or encode user-supplied parameters before reflecting them into HTML responses.

Impact

An attacker could steal a victim's session token and impersonate the authenticated user.

What the attacker needed

Victim clicks a crafted link; victim is authenticated to the device

The fix

The report recommends disabling the web application before deployment to mitigate risk; no code fix is described.

How it was found

  1. Identify the vulnerable parameters: devIndex in client_list.asp and multiple_ssid_set.asp, index in wireless_cert.asp, and vapIndex in wireless_security.asp.
  2. Craft a URL containing JavaScript in one of those parameters.
  3. Send the crafted URL to an authenticated user.
  4. The victim's browser executes the script, which can send the session token to the attacker.

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.

Reflected cross-site scripting (XSS) happens when a website takes something you typed or clicked and puts it straight into the page without cleaning it. If that input is a script, the browser runs it as if the site itself had written it. Here, an attacker could trick a logged-in user into opening a crafted link, and the script would run in the user's browser and send their session cookie to the attacker.

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 Patrick DeSantis

View all

35 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

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.