CVE-2025-14653

7.3 HIGH

📋 TL;DR

CVE-2025-14653 is an SQL injection vulnerability in itsourcecode Student Management System 1.0 that allows attackers to manipulate database queries through the /addrecord.php endpoint. This enables unauthorized data access, modification, or deletion. All users running the vulnerable 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 affects the /addrecord.php file specifically through the ID parameter.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data destruction, or full system takeover via SQL injection leading to remote code execution.

🟠

Likely Case

Unauthorized access to student records, grade manipulation, or extraction of sensitive information from the database.

🟢

If Mitigated

Limited impact with proper input validation, parameterized queries, and network segmentation in place.

🌐 Internet-Facing: HIGH - Remote exploitation is possible and the exploit has been publicly disclosed.
🏢 Internal Only: MEDIUM - Internal attackers could exploit this, but external threat is higher due to public disclosure.

🎯 Exploit Status

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

Exploit details are publicly available on GitHub, making this easily exploitable by attackers with basic SQL injection knowledge.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://itsourcecode.com/

Restart Required: No

Instructions:

No official patch available. Consider migrating to a different student management system or implementing workarounds.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement strict input validation and parameterized queries for the ID parameter in addrecord.php

Modify addrecord.php to use prepared statements: $stmt = $conn->prepare('SELECT * FROM table WHERE id = ?'); $stmt->bind_param('i', $id);

Web Application Firewall Rules

all

Deploy WAF rules to block SQL injection patterns targeting /addrecord.php

Add WAF rule: Block requests to /addrecord.php containing SQL keywords like UNION, SELECT, INSERT, DELETE, DROP, OR 1=1

🧯 If You Can't Patch

  • Isolate the Student Management System behind a reverse proxy with strict input filtering
  • Implement network segmentation to restrict database access from the web application server

🔍 How to Verify

Check if Vulnerable:

Test the /addrecord.php endpoint with SQL injection payloads like ' OR '1'='1 in the ID parameter

Check Version:

Check the system documentation or about page for version information

Verify Fix Applied:

Attempt SQL injection tests after implementing parameterized queries and verify they are blocked

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in application logs
  • Multiple failed login attempts or parameter manipulation in access logs

Network Indicators:

  • Unusual database queries from web server IP
  • SQL keywords in URL parameters to /addrecord.php

SIEM Query:

source="web_logs" AND url="/addrecord.php" AND (param="*UNION*" OR param="*SELECT*" OR param="*OR 1=1*")

🔗 References

📤 Share & Export