A mobile phone system in China causes SQL injection to leak a large number of databases

Source: Internet
Author: User

A mobile phone system in China causes SQL injection to leak a large number of databases

URL: http://subadmin.cnmo.com


First, the system will return the user does not exist and the password is wrong. So I started to use top500 to run the user name and then brute force password cracking. After a while, the system prompts that the account has been banned for too many times.
 



Then I tried to see if X-Forwarded-For can be used to bypass it. In this case, I can add a single quotation mark and report an error.
 



Then manually verify
 


 



We can see that there is a Boolean blind note to decisively use sqlmap.
 


 



Library missing

PS: the premise of injection is to use an existing user name to submit For Logon multiple times so that the system returns too many times and then use X-Forwarded-For injection to directly note that this is not acceptable.

Solution:

Filter

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.