Delete any post on the phpcms V9 Q & A homepage

Source: Internet
Author: User

Http: // 118.244.225.145/index. php? M = ask & c = index & a = init & belong = index phpcmsV9 Q & a center is an application recently launched by phpcms, similar to the pattern that Baidu knows. If a parameter is not verified, any Post published by the user can be deleted! During the test, I deleted my post: http: // 118.244.225.145/index. php? M = ask & c = index & a = delete & dosubmit = 1 & aid % 5B % 5D = 217 we only need to know aid to delete any post.
The following post is used as an example: the publisher is test110, and my username is wutongyu, obviously not the same person. In this figure, askid = 192. We only need to construct: http: // 118.244.225.145/index. php? M = ask & c = index & a = delete & dosubmit = 1 & aid % 5B % 5D = 192. After the deleted post is accessed, it becomes like this:

Solution:Complete the product. Verify the user permissions and then delete them ..

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.