Analysis of Cross-Site Request Forgery (CSRF) attack principles: beyond imagination

Source: Internet
Author: User

Analysis of Cross-Site Request Forgery (CSRF) attack principles: beyond imagination

Cross-Site Request Forgery (XSS) is perhaps the most incomprehensible attack method, but the danger is also underestimated. In the "Open Web Application Security Project" (OWASP) List, CSRF (XSRF) is in the top 10. In short, malware forces the browser to execute commands that are not needed in the authenticated context.

Browser manufacturers are well aware of this hazard and have introduced some types of CSRF protection technology.

Despite this, attackers are constantly adapting their methods, and even combining multiple types of Web attacks to enlarge the harm (such as XSS and SQL injection ).

For example, a CSRF captures users' cookies through XSS (Cross-Site Scripting) and transfers funds out of users' bank accounts.

To defend against CSRF attacks, developers can deploy CAPTCHA on the form, use multi-step transactions, and use the encrypted number at a time to enhance their anti-CRSF token.

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.