CVE-2025-15213

4.3 MEDIUM

📋 TL;DR

This vulnerability in Student File Management System 1.0 allows attackers to bypass authorization controls when downloading files via the /download.php endpoint. By manipulating the store_id parameter, remote attackers can access files they shouldn't have permission to view. Organizations using this software are affected.

💻 Affected Systems

Products:
  • Student File Management System
Versions: 1.0
Operating Systems: Any
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the File Download Handler component specifically via /download.php endpoint.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Unauthorized access to sensitive student files, potentially including personal information, academic records, or confidential documents stored in the system.

🟠

Likely Case

Exposure of non-critical files or directory traversal leading to information disclosure of system files.

🟢

If Mitigated

Limited impact with proper network segmentation and access controls preventing external exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly disclosed on GitHub and vuldb.com, making exploitation straightforward.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

1. Check vendor website for updates
2. If patch available, download and apply
3. Test functionality after update

🔧 Temporary Workarounds

Block /download.php endpoint

all

Prevent access to vulnerable endpoint using web server configuration

# Apache: RewriteRule ^download\.php$ - [F]
# Nginx: location ~ /download\.php$ { deny all; }

Implement authentication middleware

all

Add authentication check before file download processing

# Add session validation in download.php before file operations

🧯 If You Can't Patch

  • Remove internet-facing access to the application
  • Implement strict network segmentation and access controls

🔍 How to Verify

Check if Vulnerable:

Test if /download.php accepts store_id parameter without proper authentication

Check Version:

Check application version in admin panel or configuration files

Verify Fix Applied:

Verify authentication is required for all file downloads and parameter validation is implemented

📡 Detection & Monitoring

Log Indicators:

  • Multiple failed authentication attempts followed by successful /download.php access
  • Unusual file download patterns from single IP

Network Indicators:

  • Direct requests to /download.php with store_id parameter manipulation

SIEM Query:

source="web_logs" AND uri="/download.php" AND NOT user_authenticated=true

🔗 References

📤 Share & Export