CVE-2025-10829

7.3 HIGH

📋 TL;DR

Campcodes Computer Sales and Inventory System 1.0 contains a SQL injection vulnerability in the /pages/sup_edit1.php file through manipulation of the ID parameter. This allows remote attackers to execute arbitrary SQL commands on the database. All users running version 1.0 of this system are affected.

💻 Affected Systems

Products:
  • Campcodes Computer Sales and Inventory System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default installation. Any system with the /pages/sup_edit1.php file accessible is vulnerable.

📦 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 arbitrary commands.

🟠

Likely Case

Unauthorized data access, modification, or deletion of supplier records in the inventory database.

🟢

If Mitigated

Limited impact with proper input validation and database permissions restricting damage to the affected table.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

The exploit is publicly available and requires minimal technical skill to execute.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider implementing input validation and parameterized queries in the source code.

🔧 Temporary Workarounds

Web Application Firewall (WAF)

all

Deploy a WAF to block SQL injection patterns targeting the /pages/sup_edit1.php endpoint.

Input Validation

all

Implement server-side validation to ensure the ID parameter contains only expected values (e.g., numeric).

🧯 If You Can't Patch

  • Restrict network access to the system to trusted IPs only.
  • Implement database user permissions with least privilege to limit potential damage.

🔍 How to Verify

Check if Vulnerable:

Test the /pages/sup_edit1.php endpoint with SQL injection payloads in the ID parameter (e.g., ID=1' OR '1'='1).

Check Version:

Check the system version in the admin panel or configuration files.

Verify Fix Applied:

Verify that SQL injection attempts no longer succeed and return appropriate error handling.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts or parameter manipulation in web server logs

Network Indicators:

  • HTTP requests to /pages/sup_edit1.php with SQL keywords in parameters

SIEM Query:

source="web_server" AND uri="/pages/sup_edit1.php" AND (param="ID" AND value CONTAINS "' OR" OR value CONTAINS "UNION" OR value CONTAINS "SELECT")

🔗 References

📤 Share & Export