CVE-2026-1533

4.7 MEDIUM

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary SQL commands through the AdminAddCategory.php file in code-projects Online Music Site 1.0. Attackers can potentially access, modify, or delete database content. All installations of Online Music Site 1.0 with the vulnerable component exposed are affected.

💻 Affected Systems

Products:
  • code-projects Online Music Site
Versions: 1.0
Operating Systems: All platforms running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires the /Administrator/PHP/AdminAddCategory.php file to be accessible and the application to be running.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data destruction, and potential server takeover via SQL injection leading to remote code execution.

🟠

Likely Case

Unauthorized access to sensitive data (user credentials, payment info), database manipulation, and potential privilege escalation.

🟢

If Mitigated

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

🌐 Internet-Facing: HIGH - Remote exploitation possible with public exploit available.
🏢 Internal Only: MEDIUM - Internal attackers could exploit if they have network access to the vulnerable endpoint.

🎯 Exploit Status

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

Exploit details are publicly available and SQL injection vulnerabilities are commonly weaponized.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider migrating to a supported version or implementing workarounds.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement strict input validation and parameterized queries in AdminAddCategory.php

Modify PHP code to use prepared statements: $stmt = $conn->prepare('INSERT INTO categories (name) VALUES (?)'); $stmt->bind_param('s', $categoryName);

Access Restriction

linux

Restrict access to /Administrator/PHP/ directory via web server configuration

Apache: <Directory /path/to/Administrator/PHP> Deny from all </Directory>
Nginx: location ~ ^/Administrator/PHP/ { deny all; }

🧯 If You Can't Patch

  • Implement web application firewall (WAF) with SQL injection rules
  • Network segmentation to isolate the vulnerable system from sensitive databases

🔍 How to Verify

Check if Vulnerable:

Check if /Administrator/PHP/AdminAddCategory.php exists and is accessible. Test with SQL injection payloads like ' OR '1'='1

Check Version:

Check application version in configuration files or about pages

Verify Fix Applied:

Test the same SQL injection payloads after implementing fixes - they should return error messages or be blocked.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in PHP logs
  • Multiple failed login attempts to admin interface
  • Unexpected database queries

Network Indicators:

  • HTTP requests to /Administrator/PHP/AdminAddCategory.php with SQL keywords
  • Unusual database connection patterns

SIEM Query:

source="web_logs" AND (uri="/Administrator/PHP/AdminAddCategory.php" AND (query="*SELECT*" OR query="*UNION*" OR query="*OR*"))

🔗 References

📤 Share & Export