Code-Projects Currency Exchange System SQL Injection Vulnerability in viewserial.php

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Currency Exchange System version 1.0. The issue arises in the file viewserial.php, where user-supplied input in the ID parameter is not properly sanitized before being included in SQL queries. This flaw allows remote attackers to inject malicious SQL code, potentially leading to unauthorized database access, data manipulation, and in severe cases, system control.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate database queries. This could result in unauthorized access to database information, such as user data or application records, and could also allow for modification or deletion of database entries. In critical cases, such exploitation could lead to gaining control over the underlying system.

Reproduction

The vulnerability can be reproduced by sending a GET request to viewserial.php with a crafted ID parameter that includes SQL injection payloads. This can be done manually or using automated tools like sqlmap, which can exploit the vulnerability and demonstrate its impact, such as extracting database information.

Remediation

To address this vulnerability, it is recommended to use prepared statements with parameter binding for database queries in viewserial.php. Additionally, implement strict input validation to ensure that the ID parameter only accepts expected data formats. Regular security audits should also be conducted to identify and fix potential vulnerabilities.

Added: Dec 8, 2025, 5:18 AM
Updated: Dec 8, 2025, 5:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
1.4
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.