CVE-2025-15078

7.3 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute SQL injection attacks against itsourcecode Student Management System 1.0 through the /list_report.php file. Attackers can manipulate the 'sy' parameter to inject malicious SQL commands, potentially accessing or modifying database content. Organizations using this specific software version are affected.

💻 Affected Systems

Products:
  • itsourcecode Student Management System
Versions: 1.0
Operating Systems: All platforms running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default installation. Any system with the vulnerable file accessible is at risk.

📦 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 data access, extraction of sensitive student information, and potential data modification or deletion.

🟢

If Mitigated

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

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public exploit details available on GitHub. SQL injection vulnerabilities are commonly weaponized due to their prevalence and impact.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://itsourcecode.com/

Restart Required: No

Instructions:

No official patch available. Consider implementing input validation and parameterized queries in /list_report.php or migrating to alternative software.

🔧 Temporary Workarounds

Input Validation Filter

all

Add input validation to sanitize the 'sy' parameter before processing

Modify /list_report.php to validate 'sy' parameter using PHP filter functions like filter_var() or preg_match()

Web Application Firewall Rule

all

Block SQL injection patterns targeting /list_report.php

Add WAF rule: deny requests to /list_report.php containing SQL keywords in 'sy' parameter

🧯 If You Can't Patch

  • Network segmentation: Isolate the Student Management System from critical databases and other systems
  • Implement strict access controls: Restrict access to the vulnerable endpoint using IP whitelisting or authentication

🔍 How to Verify

Check if Vulnerable:

Test /list_report.php with SQL injection payloads in the 'sy' parameter (e.g., sy=1' OR '1'='1)

Check Version:

Check software version in admin panel or configuration files

Verify Fix Applied:

Verify that SQL injection attempts no longer succeed and return appropriate error handling

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in application logs
  • Multiple requests to /list_report.php with suspicious parameters
  • Database query patterns containing SQL injection payloads

Network Indicators:

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

SIEM Query:

source="web_logs" AND uri="/list_report.php" AND (param="sy" AND value MATCHES "(?i)(union|select|insert|update|delete|drop|or|and|'|--|#)")

🔗 References

📤 Share & Export