CVE-2025-13059

6.3 MEDIUM

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary SQL commands on SourceCodester Alumni Management System 1.0 through SQL injection in the /manage_career.php file. Attackers can potentially access, modify, or delete database content. Organizations using this specific software version are affected.

💻 Affected Systems

Products:
  • SourceCodester Alumni Management System
Versions: 1.0
Operating Systems: Any
Default Config Vulnerable: ⚠️ Yes
Notes: All installations of version 1.0 are vulnerable. No specific configuration required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data destruction, or full system takeover via subsequent attacks.

🟠

Likely Case

Unauthorized access to sensitive alumni data, potential privilege escalation, and database manipulation.

🟢

If Mitigated

Limited impact with proper input validation, database permissions, and network segmentation in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public exploit available on GitHub. SQL injection requires minimal technical skill to exploit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://www.sourcecodester.com/

Restart Required: No

Instructions:

No official patch available. Consider upgrading to a newer version if available or implementing workarounds.

🔧 Temporary Workarounds

Input Validation Filter

all

Add input validation to sanitize ID parameter in manage_career.php

Modify PHP code to use prepared statements: $stmt = $conn->prepare('SELECT * FROM careers WHERE id = ?'); $stmt->bind_param('i', $_GET['ID']);

Web Application Firewall Rules

all

Block SQL injection patterns targeting /manage_career.php

Add WAF rule: SecRule REQUEST_URI "@contains /manage_career.php" "id:1001,phase:2,deny,status:403,msg:'SQLi attempt blocked'"

🧯 If You Can't Patch

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

🔍 How to Verify

Check if Vulnerable:

Test /manage_career.php with SQL injection payloads like: /manage_career.php?ID=1' OR '1'='1

Check Version:

Check software version in admin panel or readme files

Verify Fix Applied:

Verify that SQL injection payloads no longer return database errors or unexpected data

📡 Detection & Monitoring

Log Indicators:

  • SQL syntax errors in web server logs
  • Unusual database queries from web application

Network Indicators:

  • HTTP requests to /manage_career.php with SQL keywords in parameters

SIEM Query:

source="web_logs" AND uri="/manage_career.php" AND (param="*SELECT*" OR param="*UNION*" OR param="*OR*'*'*'*")

🔗 References

📤 Share & Export