Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Trendnet_TW100-S4W1CA/writeup_XSS.txt
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
12 lines (6 sloc)
634 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| XSS VULNERABILITY | |
| While observing traffic sent to the “cli.cgi” file, I found it was possible to inject arbitrary JavaScript into the router's web interface via the "echo" command. The below URL functions as a proof of concept. | |
| PAYLOAD | |
| http://192.168.10.1/cli.cgi?cmd=echo%20%3Cscript%3Ealert(1)%3C/script%3E%; | |
| If the above URL was loaded by a logged in user, either through a phishing attack, or some other vector, a threat actor could execute arbitrary JavaScript in the user's browser, This could allow for potentially unauthorized changes. | |
| To remediate this, input echoed back to the user should be escaped. | |