Skip to main content

Sales And Inventory System EUVDEUVD-2025-18725

| CVE-2025-6311 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-20 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L) indicates high exploitability: network-accessible, low attack complexity, no privileges required, and no user interaction necessary. The public exploit disclosure combined with unauthenticated access vector significantly elevates real-world risk despite the 'Low' impact ratings across confidentiality, integrity, and availability. The vulnerability is automatable and requires minimal sophistication; however, impact is rated as 'Low' across all CIA triad dimensions, suggesting the SQL injection may be constrained (e.g., limited to specific fields or read-only contexts). Cross-referencing these signals: high exploitability + public POC + unauthenticated access = immediate priority, though the constrained impact suggests this is not a full database compromise scenario. Organizations running v1.0 should prioritize patching but may defer non-critical system updates if isolation controls exist.

Exploit ScenarioDerived

An attacker discovers the publicly disclosed exploit details for CVE-2025-6311 and crafts a malicious HTTP request to the vulnerable endpoint: GET /pages/account_add.php?id=1' OR '1'='1&amount=100. The unauthenticated nature of the endpoint allows the attacker to directly send this request without credentials. The unvalidated parameters are concatenated into a SQL query such as SELECT * FROM accounts WHERE id='1' OR '1'='1' AND amount=100, causing the query to return all accounts. In a more sophisticated attack, the attacker uses UNION-based or time-based blind SQL injection to extract sensitive data (customer information, financial records) or modify account balances. The public POC disclosure means automated scanning tools and script-kiddie toolkits likely already incorporate this exploit, increasing likelihood of opportunistic exploitation against unpatched systems. Organizations running this system publicly on the internet without WAF protection are at immediate risk.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 15, 2026

CVE-2025-6311 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System version 1.0 affecting the /pages/account_add.php endpoint. Unauthenticated remote attackers can manipulate the 'id' or 'amount' parameters to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has public exploit disclosure and demonstrates active exploitation risk with a CVSS score of 7.3 indicating medium-to-high severity.

RemediationAI

  • priority: CRITICAL; action: Upgrade Campcodes Sales and Inventory System to a patched version (version >1.0 if available, or evaluate alternative products if no patch released); details: Contact Campcodes vendor for security update availability. If patch unavailable, implement Web Application Firewall (WAF) rules to block SQL injection patterns in id/amount parameters.
  • priority: HIGH; action: Implement prepared statements/parameterized queries; details: Modify /pages/account_add.php to use prepared statements with bound parameters instead of string concatenation for all SQL queries.
  • priority: HIGH; action: Input validation and sanitization; details: Implement strict whitelist validation for 'id' parameter (numeric validation) and 'amount' parameter (decimal/numeric validation). Reject any input containing SQL metacharacters (', ", ;, --, /*, etc.).
  • priority: MEDIUM; action: Authentication enforcement; details: Require authentication before accessing /pages/account_add.php endpoint; implement role-based access control to restrict account modifications.
  • priority: MEDIUM; action: Deploy Web Application Firewall (WAF); details: Configure WAF with SQL injection detection rules (ModSecurity, AWS WAF, Cloudflare) to block malicious payloads targeting the vulnerable endpoint.
  • priority: LOW; action: Database permissions hardening; details: Apply principle of least privilege to database user accounts; restrict write/delete operations to minimum necessary permissions to limit damage from successful SQL injection.

Affected VersionsENISA

Sales and Inventory System 1.0

Affected Packages

euvd sales_and_inventory_system no fix

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 stems from improper input validation in the account_add.php script, classified under CWE-74 (Improper Neutralization of Special Elements in Output), which encompasses SQL injection flaws. The root cause is insufficient parameterization or sanitization of user-supplied input (id/amount parameters) before incorporation into SQL queries. The affected product is Campcodes Sales and Inventory System v1.0, a web-based inventory management application. The vulnerability allows attackers to bypass query intent through SQL metacharacter injection, enabling direct database manipulation through HTTP requests to an unauthenticated endpoint.

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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Jul 11, 2025 - 15:50 vuln.today
Public exploit code
CVE Published
Jun 20, 2025 - 06:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability, which was classified as critical, was found in Campcodes Sales and Inventory System 1.0. This affects an unknown part of the file /pages/account_add.php. The manipulation of the argument id/amount leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A SQL injection vulnerability exists in Campcodes Sales and Inventory System 1.0 that allows remote attackers to manipulate database queries through the account_add.php file. This poses an immediate risk to organizations using this system, as attackers could potentially access, modify, or delete sensitive financial and inventory data without authentication. With public exploits already available and no vendor patch released, this represents an active threat requiring urgent mitigation.

Business Impact: High
Compensating Controls

Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the id and amount parameters; restrict network access to /pages/account_add.php to authorized users only via IP whitelisting; disable the account_add.php feature if not critical to operations; apply strict input validation and use parameterized queries at the application layer; enable database activity monitoring and alerting; isolate the affected system from production networks if possible; enforce principle of least privilege for database accounts used by this application.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2021-25202 CRITICAL POC
9.8 Jul 22

SQL injection vulnerability in SourceCodester Sales and Inventory System v 1.0 allows remote attackers to execute arbitr

CVE-2025-4815 MEDIUM POC
6.9 May 17

A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical. Rated medium severity

CVE-2025-4503 MEDIUM POC
6.9 May 10

A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical.php. Rated medium sever

CVE-2025-4502 MEDIUM POC
6.9 May 10

A vulnerability has been found in Campcodes Sales and Inventory System 1.0 and classified as critical. Rated medium seve

CVE-2026-30556 MEDIUM POC
6.1 Mar 30

Reflected cross-site scripting (XSS) in SourceCodester Sales and Inventory System 1.0 allows remote attackers to inject

CVE-2026-78171 MEDIUM POC
5.5 Aug 24

SQL injection in itsourcecode Sales and Inventory System 1.0 exposes the login endpoint to unauthenticated remote exploi

CVE-2025-4734 MEDIUM POC
5.5 May 16

A vulnerability, which was classified as critical, was found in Campcodes Sales and Inventory System 1.0. Rated medium s

CVE-2025-7538 MEDIUM POC
5.5 Jul 13

CVE-2025-7538 is a critical unrestricted file upload vulnerability in Campcodes Sales and Inventory System version 1.0,

CVE-2025-7933 MEDIUM POC
5.5 Jul 21

SQL injection in Campcodes Sales and Inventory System 1.0 allows remote attackers to execute arbitrary SQL commands via

CVE-2025-7470 MEDIUM POC
5.5 Jul 12

A security vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.

CVE-2025-7183 MEDIUM POC
5.5 Jul 08

SQL injection in Campcodes Sales and Inventory System 1.0 allows remote unauthenticated attackers to inject malicious SQ

CVE-2025-6935 MEDIUM POC
5.5 Jul 01

SQL injection in Campcodes Sales and Inventory System 1.0 allows remote unauthenticated attackers to manipulate the 'cid

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy