Vulnerabilities and solutions caused by lax filtering by Tianya high-Permission users

Source: Internet
Author: User

I accidentally discovered an xss vulnerability yesterday. Next I will explain how I discovered it. This article will extend to all forums where high-Permission users are not strictly filtered.

First, I used the "special method" to get a moderator's number. Then I wanted to see if any post edited by wooyun was okay. The result showed that no, and I found another problem, is the XSS vulnerability of Tianya.

Of course, you cannot insert <script XXX> directly. However, when you insert <ScRiPt XXX>, it will succeed. Why, only lowercase letters are filtered.

Although this vulnerability was discovered by accident, it is inevitable.

Although the post content of common users is filtered, users with high permissions are not filtered.

Reference the just-learned "Departure Form": "It is not suitable to be private, so that internal and external differences are also"

This vulnerability is also caused by "private" targeting high-Permission users.

Solution: Filter users with all Permissions

From: www.safe121.com

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.