Code-Projects College Notes Uploading System SQL Injection Vulnerability in Login.php

Vulnerability

A SQL injection vulnerability exists in version 1.0 of the Code-Projects College Notes Uploading System, specifically within the login.php file. The issue arises because the application improperly sanitizes user input from the 'user' parameter, allowing attackers to inject malicious SQL code. This vulnerability can be exploited remotely, without any authentication.

Impact

Exploitation of this vulnerability allows attackers to manipulate SQL queries, potentially leading to unauthorized data access, data modification, and in some cases, full control over the application or underlying system.

Reproduction

The vulnerability can be reproduced by sending a POST request to 'login.php' with crafted input in the 'user' parameter. This input is not properly validated or sanitized, allowing for SQL injection.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure that user input meets expected formats, and database user permissions should be minimized to the least required.

Added: Dec 29, 2025, 6:21 PM
Updated: Dec 29, 2025, 6:21 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
0.0
relevance
1.6
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.