China Telecom ADSL an advertisement push system SQL Injection

Source: Internet
Author: User

China Telecom ADSL an advertisement push system SQL Injection

This type of hard advertisement often pops up when you open a webpage.

 





URL: http: // 121.32.136.50: 701/gz_20151128/guangzhou/20141028/BadwebRemindPage. aspx? Param = Signature =



I can't bear it anymore. I have to dig it out.

Try to perform base64 decoding on the param value, which is garbled



See this code in js

var paraStr = params.substring(9);var paraArr = decode64(paraStr).split('&');for(var i=0;i<paraArr.length;i++){var strArr = paraArr[i].split('=');if(strArr[0] == "type"){type = strArr[1];}if(strArr[0] == "srcUrl"){sourceUrl = strArr[1];}}



Put? Remove the nine characters param = AB and then return the original text in base64.

UserName = 020xxxx@163.gd & srcUrl = www.baidu.com & policyId = 1375 & srcIp = 127.0.0.1 & type = 0


The injection points in the userName of thirdconfirm. aspx are tested.



In order to facilitate injection, a short piece of code is developed.

<? Phperror_reporting (1);?> <! DOCTYPE html> 





After testing, it is found that it is an Oracle database.
 




 

Solution:


Filter

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.