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.
Originally disclosed on Cisco Talos
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.
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
- 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.
- Craft a URL containing JavaScript in one of those parameters.
- Send the crafted URL to an authenticated user.
- 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.