Baidu knows the search result. xss can get user cookies.

Source: Internet
Author: User

Baidu does not know whether to filter and encode the question content in the search results. Users may be attacked by xss when viewing the results.

The search results that Baidu Knows should reference questions and answers from other users. When referencing a question from another user, the content of the question is not filtered and encoded. As a result, users who view the result may be attacked by xss.

Test method:

1. Construct the xss code in the question content.



2. Use another account to submit an answer, or use any answer to solve the problem.

3. Other users may be attacked by xss when they search for related keywords in Baidu knowledge.


 



4. Hackers can construct keywords that other users are interested in to expand the attack scope. When other users access Baidu, they may be attacked by xss.

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.