CVE-2025-10808

7.3 HIGH

📋 TL;DR

Campcodes Farm Management System 1.0 contains a SQL injection vulnerability in the /uploadProduct.php file via the Type parameter. This allows remote attackers to execute arbitrary SQL commands on the database. All installations of version 1.0 are affected.

💻 Affected Systems

Products:
  • Campcodes Farm Management System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default installation. No special configuration is required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, and potential remote code execution via database functions.

🟠

Likely Case

Unauthorized data access, data modification, and potential privilege escalation within the application.

🟢

If Mitigated

Limited impact with proper input validation and database permissions, though SQL injection could still expose sensitive data.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public exploit available on GitHub. SQL injection via Type parameter requires minimal technical skill.

🛠️ 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 /uploadProduct.php.

🔧 Temporary Workarounds

Web Application Firewall (WAF)

all

Deploy WAF with SQL injection rules to block malicious requests to /uploadProduct.php

Input Validation

all

Add server-side validation to restrict Type parameter to expected values

🧯 If You Can't Patch

  • Restrict network access to the application to trusted IPs only
  • Implement database user with minimal privileges for the application

🔍 How to Verify

Check if Vulnerable:

Test /uploadProduct.php with SQL injection payloads in Type parameter (e.g., Type=1' OR '1'='1)

Check Version:

Check application version in admin panel or configuration files

Verify Fix Applied:

Verify that SQL injection payloads no longer work and return proper error handling

📡 Detection & Monitoring

Log Indicators:

  • SQL syntax errors in application logs
  • Unusual database queries from web server IP

Network Indicators:

  • HTTP POST requests to /uploadProduct.php with SQL keywords in parameters

SIEM Query:

web.url:*uploadProduct.php AND (web.param.Type:*OR* OR web.param.Type:*UNION* OR web.param.Type:*SELECT*)

🔗 References

📤 Share & Export