SQL Injection Vulnerability Detection for Sohu, Netease, and TOM portals (1)

Source: Internet
Author: User
Tags mysql injection

I have detected injection attacks on Sohu, TOM, and Netease portals, and found that there are also obvious injection vulnerabilities, which are very poor in security.

1. MySQL injection Detection

First, let's take a look at Sohu's website. Most of the dynamic web pages on Sohu's website are written in PHP, and there are also a lot of injections. For example:

Http://app.sh.sohu.com/lo###l/s.php? Id = 636

This webpage is an l'oreal advertisement page. Without detecting submitted digital parameters, you can directly use SQL injection to obtain information such as the current data version, database name, and user. First, the number of fields obtained through the Order by query is 9, and then various information of the database can be obtained through the union select query. Figure 1 ):

Http://app.sh.sohu.com/lo###l/s.php? Id = 636 and 1 = 2 union select 1, 2, group_concat (user (), 0x7C7C, version (), 0x7C7C, database (),

Figure 1 query database information through SQL Injection on Sohu website


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.