CVE-2026-0697

4.7 MEDIUM

📋 TL;DR

This CVE describes a SQL injection vulnerability in code-projects Intern Membership Management System 1.0. Attackers can remotely exploit the /intern/admin/edit_admin.php file by manipulating the admin_id parameter to execute arbitrary SQL commands. Organizations using this specific software version are affected.

💻 Affected Systems

Products:
  • code-projects Intern Membership Management System
Versions: 1.0
Operating Systems: All platforms running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects installations with the vulnerable /intern/admin/edit_admin.php file present and accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, privilege escalation, and potential system takeover via SQL injection leading to remote code execution.

🟠

Likely Case

Unauthorized access to sensitive membership data, administrative account compromise, and potential data exfiltration from the database.

🟢

If Mitigated

Limited impact with proper input validation, parameterized queries, and network segmentation preventing database access.

🌐 Internet-Facing: HIGH - The vulnerability can be exploited remotely without authentication, making internet-facing instances particularly vulnerable.
🏢 Internal Only: MEDIUM - Internal instances are still vulnerable but require network access; risk depends on internal security controls.

🎯 Exploit Status

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

Public exploit details are available on GitHub, making exploitation straightforward for attackers with basic SQL injection knowledge.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

1. Check vendor website for security updates. 2. If no patch available, implement workarounds. 3. Consider replacing with supported software.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement strict input validation and parameterized queries for the admin_id parameter

Web Application Firewall Rules

all

Deploy WAF rules to block SQL injection patterns targeting /intern/admin/edit_admin.php

🧯 If You Can't Patch

  • Isolate the vulnerable system behind a firewall with strict access controls
  • Implement network segmentation to limit database access from the web application

🔍 How to Verify

Check if Vulnerable:

Check if /intern/admin/edit_admin.php exists and test with SQL injection payloads in admin_id parameter

Check Version:

Check software documentation or configuration files for version information

Verify Fix Applied:

Test the edit_admin.php endpoint with SQL injection payloads to confirm they're properly sanitized

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in web logs
  • Multiple failed login attempts to admin interface
  • Suspicious queries containing SQL keywords

Network Indicators:

  • Unusual database connection patterns from web server
  • SQL injection payloads in HTTP requests

SIEM Query:

source="web_logs" AND (uri="/intern/admin/edit_admin.php" AND (query="*admin_id=*" AND (query="*' OR *" OR query="*UNION*" OR query="*SELECT*")))

🔗 References

📤 Share & Export