The password of any user can be reset due to the design defect of codoon.

Source: Internet
Author: User

The password retrieval function of codoon allows you to modify the password of any user if you know the registered email address.
Step 1: Click forgot password. You will be asked to enter the registered email address. Enter and click "retrieve password" to receive an email.


You can see that the password retrieval url is mainly composed of a mailbox and a four-digit verification code, and is valid 24 hours a day. Next we will use burpsuite to access the packet capture intruder! Access the retrieval password url, capture the packet, send it to the intruder, mark the verification code to generate a 4-digit random dictionary file (points are randomly added to the test): Then start, determine whether the returned package is successful based on the size of the returned package! You can see that the correct package size is 10190. You can change the password if you know the registered email address!Solution:

1. Add a time limit to the password retrieval URL, which is too long for 24 hours. 2. Use a combination of numbers, letters, and other characters to verify the code. 3. Determine whether to reset the email address in the password url, if you make multiple reset_password requests in the same mailbox, You can restrict them!

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.