Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | Despite the 7.3 CVSS score (moderate-high), multiple factors elevate real-world risk: (1) Attack Vector is Network with no authentication required (AV:N/PR:N), making exploitation trivially easy from internet-facing instances; (2) Attack Complexity is Low (AC:L), requiring no special conditions; (3) Public POC disclosure significantly increases exploitation probability; (4) The application's purpose (inventory/sales system) likely handles sensitive business data, payment information, and customer details, amplifying impact; (5) Small/medium business deployments of such systems often lack WAF/IDS protections. This is not a 'high-CVSS-low-risk' scenario—it represents genuine, immediate, and exploitable danger. If EPSS data were available, this would likely score >80% given public disclosure and unauthenticated network access. Recommend immediate patching or isolation. |
| Exploit ScenarioDerived | An attacker identifies a publicly accessible Campcodes Sales and Inventory System 1.0 instance. They craft a malicious HTTP request to /pages/receipt_credit.php with a crafted 'sid' parameter containing SQL injection payload, e.g., 'sid=1' UNION SELECT user,password FROM admin_users--'. Since no authentication is required and the parameter is directly interpolated into a SQL query, the injected SQL executes in the database context. The attacker exfiltrates customer data, sales records, payment information, or credentials. With sufficient database privileges, they could execute UPDATE/DELETE commands to modify inventory records or insert backdoor accounts. Public POC availability means script-kiddie level actors can leverage this—no advanced exploitation skill is required. A business using this system for live transactions faces immediate data breach and operational disruption risk. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
CVE-2025-7536 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System 1.0 affecting the /pages/receipt_credit.php endpoint via the 'sid' parameter. An unauthenticated remote attacker can exploit this to execute arbitrary SQL commands, potentially leading to unauthorized data access, modification, or system compromise. The vulnerability has been publicly disclosed with proof-of-concept code available, indicating active exploitation risk.
RemediationAI
{'type': 'Patch', 'description': 'Upgrade to patched version (patch version not specified in disclosure; contact Campcodes for availability). Check vendor advisories at Campcodes official channels.', 'priority': 'Immediate'} {'type': 'Workaround - Input Validation', 'description': "Implement strict input validation on the 'sid' parameter: whitelist numeric values only (if sid is expected to be an integer), reject special SQL characters, and enforce length limits.", 'priority': 'Urgent'} {'type': 'Workaround - Parameterized Queries', 'description': 'Refactor receipt_credit.php to use prepared statements with parameterized queries instead of string concatenation. Example: Use mysqli prepared statements or PDO with bound parameters.', 'priority': 'Urgent'} {'type': 'Mitigation - Network Controls', 'description': 'Restrict network access to receipt_credit.php endpoint via firewall/WAF rules. Implement rate limiting and anomaly detection. Deploy Web Application Firewall (WAF) rules to block SQL injection patterns.', 'priority': 'High'} {'type': 'Mitigation - Database Hardening', 'description': 'Apply principle of least privilege to database user accounts serving the application. Limit database user permissions to only necessary tables/operations. Disable error messages that reveal database structure.', 'priority': 'High'} {'type': 'Monitoring', 'description': 'Enable query logging and monitor for suspicious SQL patterns. Implement intrusion detection to flag SQL keywords in request parameters.', 'priority': 'Medium'}
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 a classic SQL injection flaw (CWE-74: Improper Neutralization of Special Elements used in an Output ['Injection']) stemming from insufficient input validation and parameterization in the receipt_credit.php script. The 'sid' parameter is directly concatenated into SQL queries without proper escaping or prepared statements. Campcodes Sales and Inventory System is a web-based inventory management application, likely built on PHP/MySQL architecture. CPE identification would be 'cpe:2.3:a:campcodes:sales_and_inventory_system:1.0:*:*:*:*:*:*:*'. The root cause reflects legacy coding practices where user input is trusted without sanitization, a well-understood and preventable class of vulnerabilities.
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 rated as critical. Affected by this issue is some unknown functionality of the file /pages/receipt_credit.php. The manipulation of the argument sid leads to sql injection. The attack may 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 without authentication, potentially exposing or modifying customer, sales, and inventory data. Organizations using this system face immediate risk of data breach and business disruption until remediation is completed.
Deploy WAF rules to block SQL injection patterns in the sid parameter; implement network segmentation to restrict access to the affected application; disable the /pages/receipt_credit.php endpoint if not essential to operations; enforce strict input validation and parameterized queries; enable comprehensive logging and monitoring for suspicious database activity; require multi-factor authentication for administrative access to the system.
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-21263
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB