CVE-2025-10791

7.3 HIGH

📋 TL;DR

CVE-2025-10791 is a SQL injection vulnerability in code-projects Online Bidding System 1.0 that allows remote attackers to execute arbitrary SQL commands via the 'aduser' parameter in /administrator/index.php. This affects all organizations using this specific software version, potentially compromising administrator accounts and database contents.

💻 Affected Systems

Products:
  • code-projects Online Bidding System
Versions: 1.0
Operating Systems: All platforms running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects the specific version 1.0; requires PHP environment with database connectivity.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, privilege escalation to full system control, and potential ransomware deployment.

🟠

Likely Case

Administrator account takeover, sensitive bidding data exfiltration, and manipulation of auction outcomes.

🟢

If Mitigated

Limited impact with proper input validation and WAF rules blocking malicious SQL patterns.

🌐 Internet-Facing: HIGH - The vulnerable endpoint is accessible remotely and public exploit exists.
🏢 Internal Only: MEDIUM - Internal attackers could exploit if system is network-accessible.

🎯 Exploit Status

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

Exploit code is publicly available on GitHub, making attacks trivial for attackers with basic SQL injection knowledge.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://code-projects.org/

Restart Required: No

Instructions:

No official patch available. Consider migrating to alternative bidding software or implementing custom fixes with parameterized queries.

🔧 Temporary Workarounds

WAF Rule Implementation

all

Deploy web application firewall rules to block SQL injection patterns targeting the aduser parameter

# Example ModSecurity rule: SecRule ARGS:aduser "@detectSQLi" "id:1001,phase:2,deny,status:403"

Input Validation Filter

all

Add input validation to sanitize the aduser parameter before processing

# PHP example: $aduser = mysqli_real_escape_string($connection, $_POST['aduser']);

🧯 If You Can't Patch

  • Isolate the bidding system in a separate network segment with strict firewall rules
  • Implement database monitoring to detect unusual SQL queries and administrator login attempts

🔍 How to Verify

Check if Vulnerable:

Test the /administrator/index.php endpoint with SQL injection payloads in the aduser parameter (e.g., ' OR '1'='1)

Check Version:

Check software version in admin panel or readme files; system identifies as 'Online Bidding System 1.0'

Verify Fix Applied:

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

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL syntax in web server logs
  • Multiple failed login attempts to administrator panel
  • Database error messages containing SQL fragments

Network Indicators:

  • HTTP POST requests to /administrator/index.php with SQL keywords in parameters
  • Unusual database connection patterns from web server

SIEM Query:

source="web_logs" AND uri="/administrator/index.php" AND (aduser="*OR*" OR aduser="*UNION*" OR aduser="*SELECT*")

🔗 References

📤 Share & Export