CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Lifecycle Timeline
4Description
A vulnerability was found in Campcodes Sales and Inventory System 1.0. It has been classified as critical. Affected is an unknown function of the file /pages/cat_update.php. The manipulation of the argument ID leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Analysis
CVE-2025-6314 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System 1.0, specifically in the /pages/cat_update.php file's ID parameter, allowing unauthenticated remote attackers to execute arbitrary SQL queries and potentially extract, modify, or delete database contents. The vulnerability has a publicly disclosed exploit (POC available), making it an active threat with immediate exploitation risk; the CVSS 7.3 score reflects moderate-to-high severity with network-based attack capability and no authentication required.
Technical Context
The vulnerability stems from insufficient input validation and sanitization of the ID parameter in /pages/cat_update.php, classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component). This is a classic SQL injection flaw where user-supplied input is directly concatenated into SQL queries without parameterized statements or prepared statements. Campcodes Sales and Inventory System 1.0 (CPE: cpe:2.3:a:campcodes:sales_and_inventory_system:1.0:*:*:*:*:*:*:*) is a PHP-based inventory management application; the vulnerable endpoint processes category updates via HTTP requests without proper query parameterization, allowing attackers to inject SQL metacharacters (single quotes, UNION operators, comments) to manipulate database logic.
Affected Products
- product: Campcodes Sales and Inventory System; version: 1.0; cpe: cpe:2.3:a:campcodes:sales_and_inventory_system:1.0:*:*:*:*:*:*:*; affected_component: /pages/cat_update.php; affected_parameter: ID; vulnerability_type: SQL Injection
Priority Score
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-18727