Highlights
Auth Bypass: 9 prior fixes. Scrutinize any change in this area.
application/model/PasswordResetModel.php: most-fixed (4 issues). Treat as high-risk during review.
16 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: Missing termination (exit) calls immediately after sending 'location' redirect headers allowed continued script execution, effectively bypassing authentication controls. This pattern was fixed across multiple files in the core authentication library.
Auth Bypass: The persistent 'remember me' cookie authentication routine failed to cross-reference the client's token against the database, relying purely on the user_id or failing to reject empty/NULL database tokens, enabling complete session hijacking.
SQL Injection: Database queries historically concatenated user input directly into SQL statements, requiring a systematic migration to parameterized queries and PDO prepared statements to secure the registration and login processes.