OWASP (Open Web application Security Project) Top Ten for JavaScript

Source: Internet
Author: User
Tags csrf attack

Injection Injection flaws, such as SQL, OS, and LDAP injection, occur when untrusted data are sent to an interpreter as part of a COM Mand or query. The attacker ' s hostile data can trick the interpreter into executing unintended commands or accessing unauthorized data.
Cross Site Scripting (XSS) XSS flaws occur whenever an application takes untrusted data and sends it to a Web browser without proper validation and E Scaping. XSS allows attackers to execute scripts in the victim ' s browser which can hijack user sessions, deface Web sites, or redir ECT the user to malicious sites.
Broken authentication and Session Management Application functions related to authentication and session management is often not implemented correctly, allowing ATTAC Kers to compromise passwords, keys, session tokens, or exploit other implementation flaws to assume other users ' identitie S.
Insecure Direct Object References A direct object reference occurs when a developer exposes a reference to an internal implementation object, such as a file , directory, or database key. Without an access control check or other protection, attackers can manipulate these references to access unauthorized data .
Cross Site Request forgery (CSRF) A CSRF attack forces a logged-on victim ' s browser to send a forged HTTP request, including the victim's session cookie and Any and automatically included authentication information, to a vulnerable web application. This allows the attacker to force the victim's browser to generate requests the vulnerable application thinks is Legitima Te requests from the victim.
Security misconfiguration Good security requires have a secure configuration defined and deployed for the application, frameworks, application Ser ver, Web server, database server, and platform. All these settings should is defined, implemented, and maintained as many is not shipped with secure defaults. This includes keeping all software up to date, including all code libraries used by the application.
Insecure Cryptographic Storage Many Web applications do not properly protect sensitive data, such as credits cards, ssNS, and authentication credentials, With appropriate encryption or hashing. Attackers may steal or modify such weakly protected data to conduct identity theft, credits card fraud, or other crimes.
Failure to Restrict URL Access Many Web applications check URL access rights before rendering protected links and buttons. However, applications need to perform similar access control checks each time these pages is accessed, or attackers would Be able to forge URLs to access these hidden pages anyway.
Insufficient Transport Layer Protection Applications frequently fail to authenticate, encrypt, and protect the confidentiality and integrity of sensitive network Traffic. When they does, they sometimes support weak algorithms, use expired or invalid certificates, or does not use them correctly.
Unvalidated redirects and forwards Web applications frequently redirect and forward users to other pages and websites, and use untrusted data to determine th e destination pages. Without proper validation, attackers can redirect victims to phishing or malware sites, or use forwards to access Unauthor ized pages.

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.