10 tips on how to prevent business value risk
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Abel Avram on Mar 04, 2010
OWASP, an open and free organization focused on evaluating and improving software application security, has released the OWASP Top 10 Application Security Risks – 2010 RC1 (PDF), a whitepaper documenting the top 10 web application security risks along with details on how threat agents can exploit these possible vulnerabilities, accompanied with examples and advice on what can be done to avoid them.
Released under the Creative Commons Attribution ShareAlike3.0 license, the OWASP Top 10 Web Application Security Risks – 2010 contains:
| Security Risk | Description |
| A1 –Injection | Injection flaws, such as SQL, OS, and LDAP injection, occur when untrusted data is sent to an interpreter as part of a command or query. The attacker’s hostile data can trick the interpreter into executing unintended commands or accessing unauthorized data. |
| A2 –Cross Site Scripting (XSS) | XSS flaws occur whenever an application takes untrusted data and sends it to a web browser without proper validation and escaping. XSS allows attackers to execute script in the victim’s browser which can hijack user sessions, deface web sites, or redirect the user to malicious sites. |
| A3 –Broken Authentication and Session Management | Application functions related to authentication and session management are often not implemented correctly, allowing attackers to compromise passwords, keys, session tokens, or exploit implementation flaws to assume other users’ identities. |
| A4 –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. |
| A5 –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 other authentication information, to a vulnerable web application. This allows the attacker to force the victim’s browser to generate requests the vulnerable application thinks are legitimate requests from the victim. |
| A6 –Security Misconfiguration | Security depends on having a secure configuration defined for the application, framework, web server, application server, and platform. All these settings should be defined, implemented, and maintained as many are not shipped with secure defaults. |
| A7 -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 when these pages are accessed, or attackers will be able to forge URLs to access these hidden pages anyway. |
| A8 –Unvalidated Redirects and Forwards | Web applications frequently redirect and forward users to other pages and websites, and use untrusted data to determine the destination pages. Without proper validation, attackers can redirect victims to phishing or malware sites, or use forwards to access unauthorized pages. |
| A9 –Insecure Cryptographic Storage | Many web application do not properly protect sensitive data, such as credit cards, SSNs, and authentication credentials, with appropriate encryption or hashing. Attackers may use this weakly protected data to conduct identity theft, credit card fraud, or other crimes. |
| A10 -Insufficient Transport Layer Protection | Applications frequently fail to encrypt network traffic when it is necessary to protect sensitive communications. When they do, they sometimes support weak algorithms, use expired or invalid certificates, or do not use them correctly. |
The document provides explanations how to identify if your own site is vulnerable to these security risks, how to prevent attacks, and examples of how such an attack can be carried on by a threat agent. For example, the Injection security risk is exploited based on the following vulnerable SQL query:
String query = "SELECT * FROM accounts WHERE custID='" + request.getParameter("id") +"'";
An attacked could use this by replacing “the ‘id’ parameter in their browser to send: ' or '1'='1. This changes the meaning of the query to return all the records from the accounts database, instead of only the intended customer’s” by using:
http://example.com/app/accountView?id=' or '1'='1
This would result in a SQL statement that looks like:
SELECT * FROM accounts WHERE custID='' or '1'='1'
As advice for the Injection risk, the paper recommends “keeping untrusted data separate from commands and queries”:
The top 10 list has been created based on OWASP Risk Rating Methodology which follows these steps in identifying and assessing software application risks:
Compared to the same document released in 2007, the top 10 list has some changes, with the most notable changes being dropping the “Malicious File Execution” and “Information Leakage and Improper Error Handling” risks, and adding two new ones, “Security Misconfiguration” and “Unvalidated Redirects and Forwards”:
The Open Web Application Security Project (OWASP) is supported by OWASP Foundation, a 501c3 not-for-profit charitable organization focused on improving software application security. OWASP provides for free security tools and standards, books on application security testing, secure code development and code review, security controls and libraries, conferences, research, mailing lists.
Mobile and the New Two-Tiered Web Architecture
18 agile and lean practices for effective software development governance
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.
Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.
John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.
Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.
Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.
Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?
Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.
No comments
Watch Thread Reply