A Program Logic problem in a sub-station of Baidu caused dos Attacks

Source: Internet
Author: User

Http://tcfile.baidu.com/index.php? Url = url this url is designed to provide a mobile phone user with an interface to access a web page on the computer for traffic. However, this page has a problem when obtaining the corresponding content of the url. Improper timeout settings in combination with the php script will lead to a severe dos index. when the php captures the url page, It redirects to the 302 of the follow http. If the redirection address is the page itself, the index. php will send the same request to its own server POC: http://tcfile.baidu.com/index.php? Url = http: // somesite/somepage where the php code for http: // somesite/sompage is <? Php header ("Location: http://tcfile.baidu.com/index.php? Url = http: // somesite/somepage ");?> This is a normal page
This is a DOS attack. When server resources are exhausted, the http link is terminated.

 Solution:

Many methods can be used to set php connection timeout, cache, and repeated requests to not respond.

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.