Top 10 2013-A2-Broken Authentication and Session Management

Consider anonymous external attackers, as well as users with their own accounts, who may attempt to steal accounts from others. Also consider insiders wanting to disguise their actions. Attacker uses leaks or flaws in the authentication or session management functions (e.g., exposed accounts, passwords, session IDs) to impersonate users. Developers frequently build custom authentication and session management schemes, but building these correctly is hard. As a result, these custom schemes frequently have flaws in areas such as logout, password management, timeouts, remember me, secret question, account update, etc. Finding such flaws can sometimes be difficult, as each implementation is unique. Such flaws may allow some or even all accounts to be attacked. Once successful, the attacker can do anything the victim could do. Privileged accounts are frequently targeted. Consider the business value of the affected data or application functions. Also consider the business impact of public exposure of the vulnerability.

foo

blank
 * 1) blankBullet1
 * 2) blankBullet2

blank blank code blank http://example.com/app/accountView?id= ' or '1'='1 blank


 * OWASP SQL Injection Prevention Cheat Sheet
 * ESAPI Encoder API


 * CWE Entry 77 on Command Injection
 * CWE Entry 89 on SQL Injection