CVE-2026-0850

4.7 MEDIUM

📋 TL;DR

This CVE describes a SQL injection vulnerability in code-projects Intern Membership Management System 1.0. Attackers can exploit the activity_id parameter in /admin/delete_activity.php to execute arbitrary SQL commands. Organizations using this software with internet-facing admin interfaces are at risk.

💻 Affected Systems

Products:
  • code-projects Intern Membership Management System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires admin interface access; vulnerability in PHP file with insufficient input sanitization.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, modification, or deletion; potential privilege escalation to system access.

🟠

Likely Case

Unauthorized data access and manipulation of membership records, potentially exposing sensitive personal information.

🟢

If Mitigated

Limited impact with proper input validation and database permissions restricting damage scope.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit requires admin access; public disclosure increases weaponization likelihood.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider implementing input validation or replacing software.

🔧 Temporary Workarounds

Input Validation Implementation

all

Add parameter validation to ensure activity_id contains only numeric values

Modify /admin/delete_activity.php to validate activity_id parameter

Web Application Firewall Rules

all

Block SQL injection patterns targeting delete_activity.php

Configure WAF to detect and block SQL injection attempts

🧯 If You Can't Patch

  • Restrict access to admin interface using network segmentation and strong authentication
  • Implement database-level protections: use least privilege accounts, enable query logging

🔍 How to Verify

Check if Vulnerable:

Test /admin/delete_activity.php with SQL injection payloads in activity_id parameter

Check Version:

Check software documentation or configuration files for version information

Verify Fix Applied:

Verify input validation rejects non-numeric activity_id values and SQL injection attempts

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed delete attempts with malformed parameters

Network Indicators:

  • HTTP requests to delete_activity.php with SQL syntax in parameters

SIEM Query:

source="web_logs" AND uri="/admin/delete_activity.php" AND (param="activity_id" AND value MATCH "[';]|UNION|SELECT")

🔗 References

📤 Share & Export