Code-Projects Online Ordering System SQL Injection Vulnerability in Admin Login Component

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Online Ordering System version 1.0. The issue resides in the Admin Login component, specifically within the '/admin/' file. The vulnerability is triggered by manipulating the 'username' parameter, allowing attackers to inject malicious SQL queries. This exploitation can be done remotely, without any authentication requirements.

Impact

Exploitation of this vulnerability allows unauthorized access to the database, where attackers can leak, modify, or delete data. Additionally, it could lead to unauthorized control over the system or cause a disruption of services.

Reproduction

The vulnerability can be reproduced by sending a POST request to the '/admin/' endpoint with a crafted 'username' parameter that includes malicious SQL payloads. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

To address this vulnerability, it is recommended to use prepared statements and parameter binding to prevent SQL injection. Input validation and filtering should be implemented to ensure user input conforms to expected formats. Additionally, minimize database user permissions and conduct regular security audits.

Added: Dec 8, 2025, 4:18 PM
Updated: Dec 8, 2025, 7:23 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.0
remediation
0.0
relevance
1.4
threat
6.4
urgency
2.9
incentive
1.7

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