ZTE MF971R sms_cmd_status_info cross-site scripting vulnerability
The sms_cmd parameter of the sms_cmd_status_info API is not sanitised and is reflected in the HTTP response, so a crafted URL causes arbitrary JavaScript to run in the victim's browser. The attacker only needs to get the victim to visit a link.
Originally disclosed on Cisco Talos
An exploitable Cross-Site-Scripting vulnerability exists in ZTE MF971R LTE router version wainnerversion:BDPLKPLMF971R1V1.0.0B06. A specially crafted HTTP request can cause an XSS vulnerability and as a result arbitrary JavaScript code execution in the victim’s browser.
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
The sms_cmd parameter is reflected into an HTML response without sanitisation or output encoding.
Impact
An attacker could run arbitrary JavaScript in a victim's browser via a crafted link; no login is needed, and only a referer check stands in the way, which the text says is easy to bypass.
What the attacker needed
Victim visits attacker-supplied URL; referer check bypassed; no login required
The fix
The vendor patched the issue.
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.
This router's web interface has a page that takes a value from the address and puts it straight into the page it sends back without cleaning it. If that value contains code, the browser runs it as if the router itself had written it. An attacker just has to trick someone into opening a prepared link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.