Assignment4
Assignment4
Examine the input handling functions to ensure that user inputs are validated and
sanitized.
Identify logical paths within the authentication process, including user registration, login,
and session management.
Review password handling mechanisms, such as encryption and storage.
Check for potential hardcoded credentials or sensitive information.
Analyze error messages to ensure they do not leak sensitive information.
Input Validation Issues: Lack of validation for username and password fields.
SQL Injection: Inspect code for any unparameterized database queries.
Password Handling: Ensure secure password hashing algorithms (e.g., bcrypt) are used.
Session Management: Verify that sessions are properly created, managed, and
invalidated.
Error Message Disclosure: Ensure error messages do not reveal if the username or
password is incorrect.
Step 5: Recommendations