Discuz! HTTP host Header attacks in multiple versions

Source: Internet
Author: User

Discuz! HTTP host Header attacks in multiple versions

Http://www.bkjia.com/Article/201404/292132.html



Discuz! X3.2 is an example.

Take http://bbs.locojoy.com/as an example,


1. its ip address is


115.29.162.113





2. Add entries to hosts


115.29.162.113 www.evil.com





3. Access http://www.evil.com

Retrieve the password, enter the target email, and submit



4. The victim received an email.

 



Of course, it can be forged to be more confidential. Some mailbox systems can also work with XSS. In short, once the victim accesses this URL,

Uid and id are all intercepted



5. Game Over

Solution:

When the system is installed for the first time, obtain the HOST value and save it as a constant.

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.