JEEBBS v3.0 user registration logic vulnerability and another storage xss

Source: Internet
Author: User

1. What do you think of when you see 'username' varchar (100) not null comment 'username' when registering a dangerous user name? Why is the username so long. Enter a string between 3 and 20. That is to say, if this condition is met and the user name does not repeat, right? Because I already know that the user name can be 100 characters in length, you can register a user name with 100 characters without judging the format. When sending data packets, the interception request is modified to the xss code to be registered:

You can reply to or post any post, or see the registered xss user name. 2. Post a voting post on xss with the title xss.

Solution:

The username field does not really take that long. The username Regular Expression and post parameter are filtered.

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.