Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | This vulnerability presents HIGH real-world risk despite a moderate CVSS 7.3 score. Risk signal analysis: (1) CVSS 7.3 with AV:N/AC:L/PR:N/UI:N indicates network-accessible, low-complexity, unauthenticated exploitation—maximum attack surface; (2) Public POC disclosure dramatically increases practical exploitability probability; (3) SQL injection is highly automatable and requires no user interaction; (4) The technical impact is severe: confidentiality, integrity, and availability all rated as impacted (C:L/I:L/A:L in CVSS); (5) SSVC framework would classify this as IMMEDIATE: exploitation is already public, automation is trivial, technical impact includes data breach and system compromise. Unlike many 7.3 scores that are inflated, this one reflects genuine operational risk. Organizations running version 1.0 should prioritize patching immediately. |
| Exploit ScenarioDerived | An attacker discovers a public facing Campcodes Sales and Inventory System 1.0 instance. They craft a request to http://target.com/pages/reprint_cash.php?sid=1' UNION SELECT user(),database(),version()-- and observe error messages or exfiltrated data revealing database structure. With this information, they execute: sid=1' UNION SELECT group_concat(username,':',password),2,3 FROM users-- to dump credential hashes. Given AC:L and PR:N (no authentication required), the attacker needs only basic HTTP client knowledge. The POC is likely a simple curl/python script automating this process. No user interaction is required, making this exploitable at scale against any unpatched instance exposed to the internet. Real-world impact could include theft of sales records, customer data, financial information, and complete system compromise via stacked queries (UPDATE/DELETE). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
CVE-2025-7535 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System version 1.0, located in the /pages/reprint_cash.php file's 'sid' parameter. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has been publicly disclosed with exploits available, making it an immediate threat to deployed instances.
RemediationAI
{'type': 'patch', 'recommendation': 'Upgrade Campcodes Sales and Inventory System beyond version 1.0. Check vendor website (campcodes.com or official repository) for patched version release. Version 1.0 is legacy; patches may be available as 1.1 or 2.0.', 'priority': 'CRITICAL'} {'type': 'immediate_workaround', 'steps': ['Disable or restrict access to /pages/reprint_cash.php at the web server level (firewall rule, Apache/Nginx configuration) until patch is applied', "Implement Web Application Firewall (WAF) rules to block SQL injection patterns in the 'sid' parameter (e.g., detecting single quotes, UNION, SELECT keywords)", "Implement input validation: whitelist alphanumeric characters only for 'sid' parameter; reject any special characters"]} {'type': 'defensive_coding_fix', 'steps': ['Replace direct SQL concatenation with parameterized queries (prepared statements) using mysqli or PDO with bound parameters', "Example: Use $stmt = $mysqli->prepare('SELECT * FROM sales WHERE sid = ?'); $stmt->bind_param('s', $sid); instead of string interpolation", 'Implement output encoding/escaping for any reflected data']} {'type': 'detection_and_monitoring', 'steps': ['Enable SQL error logging to detect injection attempts', 'Monitor /pages/reprint_cash.php access logs for suspicious patterns (URL encoding anomalies, SQL keywords)', 'Implement database activity monitoring (DAM) to detect unusual query patterns']}
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is rooted in CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component, also known as 'Injection'), specifically SQL injection. The vulnerable code in /pages/reprint_cash.php fails to properly sanitize or parameterize the 'sid' (likely Session ID or Sales ID) parameter before using it in SQL queries. Campcodes Sales and Inventory System is a PHP-based web application (implied by .php file extension) that manages sales transactions and inventory. The lack of input validation allows attackers to inject malicious SQL syntax directly into database queries. The affected CPE would be: cpe:2.3:a:campcodes:sales_and_inventory_system:1.0:*:*:*:*:*:*:*
Know when Sales And Inventory System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in Campcodes Sales and Inventory System 1.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /pages/reprint_cash.php. The manipulation of the argument sid leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A publicly disclosed SQL injection vulnerability in Campcodes Sales and Inventory System 1.0 allows remote attackers to manipulate database queries through the reprint_cash.php file. Organizations using this system face immediate risk of unauthorized data access, modification, or deletion of financial and inventory records without requiring authentication.
Deploy Web Application Firewall (WAF) rules to detect and block SQL injection attempts targeting the sid parameter; restrict network access to /pages/reprint_cash.php via IP whitelisting; disable the reprint_cash.php functionality if operationally feasible; implement database-level access controls and read-only permissions for application service accounts; enable comprehensive logging and monitoring of all database queries from the application; apply rate limiting to the vulnerable endpoint.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Sales And Inventory System
View allSQL injection vulnerability in SourceCodester Sales and Inventory System v 1.0 allows remote attackers to execute arbitr
A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical. Rated medium severity
A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical.php. Rated medium sever
A vulnerability has been found in Campcodes Sales and Inventory System 1.0 and classified as critical. Rated medium seve
Reflected cross-site scripting (XSS) in SourceCodester Sales and Inventory System 1.0 allows remote attackers to inject
SQL injection in itsourcecode Sales and Inventory System 1.0 exposes the login endpoint to unauthenticated remote exploi
A vulnerability, which was classified as critical, was found in Campcodes Sales and Inventory System 1.0. Rated medium s
CVE-2025-7538 is a critical unrestricted file upload vulnerability in Campcodes Sales and Inventory System version 1.0,
SQL injection in Campcodes Sales and Inventory System 1.0 allows remote attackers to execute arbitrary SQL commands via
CVE-2025-6311 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System version 1.0 affecting th
A security vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.
SQL injection in Campcodes Sales and Inventory System 1.0 allows remote unauthenticated attackers to inject malicious SQ
EUVD-2025-21264
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB