SANS Compiles Top 25 Most Dangerous Programming Errors

0 views
Skip to first unread message

sarose

unread,
Jan 13, 2009, 4:09:17 AM1/13/09
to Nepal PHP Users Group
experts from more than 30 US and international cyber security
organizations jointly released the consensus list of the 25 most
dangerous programming errors that lead to security bugs and that
enable cyber espionage and cyber crime. Shockingly, most of these
errors are not well understood by programmers; their avoidance is not
widely taught by computer science programs; and their presence is
frequently not tested by organizations developing software for sale.

The top 25 errors are divided into three categories:

* Insecure Interaction Between Components (9 errors)
* Risky Resource Management (9 errors)
* Porous Defenses (7 errors)

The errors listed are the following. SANS Web site contains more in-
depth description of each error type:

* Improper Input Validation
* Improper Encoding or Escaping of Output
* Failure to Preserve SQL Query Structure (aka 'SQL
Injection')
* Failure to Preserve Web Page Structure (aka 'Cross-site
Scripting')
* Failure to Preserve OS Command Structure (aka 'OS Command
Injection')
* Cleartext Transmission of Sensitive Information
* Cross-Site Request Forgery (CSRF)
* Race Condition
* Error Message Information Leak
* Failure to Constrain Operations within the Bounds of a
Memory Buffer
* External Control of Critical State Data
* External Control of File Name or Path
* Untrusted Search Path
* Failure to Control Generation of Code (aka 'Code Injection')
* Download of Code Without Integrity Check
* Improper Resource Shutdown or Release
* Improper Initialization
* Incorrect Calculation
* Improper Access Control (Authorization)
* Use of a Broken or Risky Cryptographic Algorithm
* Hard-Coded Password
* Insecure Permission Assignment for Critical Resource
* Use of Insufficiently Random Values
* Execution with Unnecessary Privileges
* Client-Side Enforcement of Server-Side Security



Read in details:

http://www.sans.org/top25errors/
Reply all
Reply to author
Forward
0 new messages