CVE-2025-6313
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-20

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical. This issue affects some unknown processing of the file /pages/cat_add.php. The manipulation of the argument Category leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-20
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-06-20
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
campcodes sales_and_inventory_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-6313 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System version 1.0, specifically in the file /pages/cat_add.php. The vulnerability occurs because the "category" parameter is not properly sanitized or validated before being used in SQL queries. This allows an attacker to inject malicious SQL code remotely without authentication, potentially manipulating the database in unauthorized ways. [1, 2, 3]


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized database access, data leakage, data tampering, full system control, and potential service disruption. Since it can be exploited remotely without authentication, attackers can compromise the confidentiality, integrity, and availability of the system, posing significant risks to system security and business continuity. [1, 3]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by testing the /pages/cat_add.php endpoint for SQL injection via the 'category' parameter. One approach is to send crafted POST requests with SQL injection payloads targeting the 'category' parameter and observe the responses for SQL errors or unexpected behavior. Additionally, Google dorking can be used to identify vulnerable targets by searching for 'inurl:pages/cat_add.php'. Example command using curl to test the vulnerability: curl -X POST -d "category=' OR updatexml(1,concat(0x7e,(SELECT database()),0x7e),1)-- -" http://target-site.com/pages/cat_add.php [1, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Using prepared statements with parameter binding to separate SQL code from user input. 2) Implementing strict input validation and filtering to ensure the 'category' parameter conforms to expected formats. 3) Minimizing database user permissions by avoiding high-privilege accounts for routine operations. 4) Conducting regular security audits to detect and fix vulnerabilities promptly. If possible, replace or update the affected component or product to a version without this vulnerability. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart