The design defect of the notedog allows you to delete any images on the website.

Source: Internet
Author: User

Improper path processing allows registered users to delete arbitrary images on the website

Detailed description:

Register a user and Click Upload Avatar After logging on. For example, the address is:
Http://www.bkjia.com/jishigou30s/index. php? Mod = settings & code = face
The file & temp_face =././images/noavatar.gif watermark is deleted.
Proof of vulnerability:

You can simply find a record dog station to prove it. (Write permission is required for images)
Solution:

Forcibly judge and filter all input paths at the front end

This vulnerability is caused by a poor judgment on the deletion of temporary files when the website uploads the profile picture. Thanks for your feedback, we have provided patches and updated the relevant downloads.
See: http://cenwor.com/thread-12847-1-1.html


Author Moyo
 

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.