Geek Park official website administrator Cookie leakage directly into the background and Solution

Source: Internet
Author: User

Geek Park official website administrator Cookie leakage directly into the background and Solution

 

Geekpark.net

A few months ago, the WooYun salon connected the same WiFi with the reporter sister of geek Park and caught her Cookie with the dSploit of the mobile phone.

I thought there was no need to report it, but today I saw the pig vulnerability and tested it with my own hands. The Cookie was valid more than three months ago!

Defects:

1. The original Cookie is not valid after the user logs out.

2. The Cookie does not have a set expiration time or the expiration time is too long.

Risks:

1. Once the Administrator's Cookie is obtained, the official website can be controlled for a long time.

2. reduces the cost of using possible XSS vulnerabilities (otherwise, you may need to Keep-Alive to ensure Cookie effectiveness)
 

 



My sister is still using MacBook ~
 


 



50000 users, which can be modified at will.
 


 

Solution:

1. Introduce the Cookie invalidation mechanism (the original Cookie becomes invalid after cancellation, and set the expiration time for the Cookie)

2. Strengthen the reporter's security awareness (pay attention to the security risks caused by unfamiliar WiFi)

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.