Archive

Archive for February, 2009

Top 25 common programming bugs

Insecure Interaction between Components

  1. Improper Input Validation
  2. Improper Encoding or Escaping of Output
  3. Failure to Preserve SQL Query Structure (‘SQL Injection’)
  4. Failure to Preserve Web Page Structure (‘Cross-site Scripting’)
  5. Failure to Preserve OS Command Structure (‘OS Command Injection’)
  6. Clear text Transmission of Sensitive Information
  7. Cross-Site Request Forgery (CSRF) 8. Race Condition
  8. Error Message Information Leak

Risky Resource Management

  1. Failure to Constrain Operations within the Bounds of a Memory Buffer
  2. External Control of Critical State Data
  3. External Control of File Name or Path
  4. Un trusted Search Path
  5. Failure to Control Generation of Code (‘Code Injection’)
  6. Download of Code Without Integrity Check
  7. Improper Resource Shutdown or Release
  8. Improper Initialization
  9. Incorrect Calculation

Porous Defenses

  1. Improper Access Control (Authorization)
  2. Use of a Broken or Risky Cryptographic Algorithm
  3. Hard-Coded Password
  4. Insecure Permission Assignment for Critical Resource
  5. Use of Insufficiently Random Values
  6. Execution with Unnecessary Privileges
  7. Client-Side Enforcement of Server-Side Security