CVE-2025-14664

7.3 HIGH

📋 TL;DR

Campcodes Supplier Management System 1.0 contains a SQL injection vulnerability in the /admin/view_unit.php file through manipulation of the chkId[] parameter. This allows remote attackers to execute arbitrary SQL commands on the database. Organizations using this specific software version are affected.

💻 Affected Systems

Products:
  • Campcodes Supplier Management System
Versions: 1.0
Operating Systems: Any
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default installation of version 1.0. No specific OS requirements mentioned.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data manipulation, or complete system takeover via SQL injection to execute operating system commands.

🟠

Likely Case

Unauthorized access to sensitive supplier data, extraction of database contents, and potential privilege escalation within the application.

🟢

If Mitigated

Limited impact with proper input validation and database permissions restricting damage to non-critical data.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploit is publicly available on GitHub. Attack requires access to admin interface but SQL injection is straightforward once authenticated.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://www.campcodes.com/

Restart Required: No

Instructions:

No official patch available. Check vendor website for updates or consider alternative software.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement parameterized queries or proper input sanitization for the chkId[] parameter in /admin/view_unit.php

Manual code modification required: Replace vulnerable SQL queries with prepared statements

Web Application Firewall (WAF)

all

Deploy WAF rules to block SQL injection patterns targeting the vulnerable endpoint

WAF-specific configuration required

🧯 If You Can't Patch

  • Isolate the system from internet access and restrict to internal network only
  • Implement strict network segmentation and monitor all access to the vulnerable endpoint

🔍 How to Verify

Check if Vulnerable:

Check if Campcodes Supplier Management System version 1.0 is installed and examine /admin/view_unit.php for SQL injection vulnerabilities in chkId[] parameter handling

Check Version:

Check application documentation or configuration files for version information

Verify Fix Applied:

Test the vulnerable endpoint with SQL injection payloads to confirm they are properly blocked or sanitized

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in application logs
  • Multiple failed login attempts followed by access to /admin/view_unit.php with suspicious parameters

Network Indicators:

  • HTTP POST requests to /admin/view_unit.php containing SQL injection patterns in chkId[] parameter

SIEM Query:

source="web_logs" AND uri="/admin/view_unit.php" AND (chkId CONTAINS "'" OR chkId CONTAINS "--" OR chkId CONTAINS "UNION" OR chkId CONTAINS "SELECT")

🔗 References

📤 Share & Export