CVE-2025-9438

4.3 MEDIUM

📋 TL;DR

This vulnerability allows attackers to inject malicious scripts into the 'address' parameter of the /admin/add_student.php file in 1000projects Online Project Report Submission and Evaluation System 1.0. When exploited, it enables cross-site scripting attacks that can steal session cookies, redirect users, or deface the application. Organizations using this specific version of the project management system are affected.

💻 Affected Systems

Products:
  • 1000projects Online Project Report Submission and Evaluation System
Versions: 1.0
Operating Systems: Any
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with the vulnerable /admin/add_student.php endpoint accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers steal administrator session cookies, gain full administrative access to the system, and potentially compromise all project data and user accounts.

🟠

Likely Case

Attackers inject malicious scripts that steal user session cookies, leading to account takeover of regular users and potential data exposure.

🟢

If Mitigated

With proper input validation and output encoding, the impact is limited to minor UI disruption without data compromise.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploit details are publicly available in GitHub references. Attack requires access to the admin interface.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: UNKNOWN

Vendor Advisory: NONE

Restart Required: No

Instructions:

No official patch available. Implement input validation and output encoding in /admin/add_student.php to sanitize the 'address' parameter.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement server-side validation to sanitize the 'address' parameter by removing or encoding HTML/JavaScript characters.

Edit /admin/add_student.php to add: $address = htmlspecialchars($_POST['address'], ENT_QUOTES, 'UTF-8');

Web Application Firewall (WAF)

all

Deploy a WAF with XSS protection rules to block malicious payloads targeting the vulnerable endpoint.

🧯 If You Can't Patch

  • Restrict access to /admin/add_student.php to trusted IP addresses only
  • Disable the affected functionality if not required for operations

🔍 How to Verify

Check if Vulnerable:

Test by submitting a script payload like <script>alert('XSS')</script> in the address field of /admin/add_student.php and check if it executes.

Check Version:

Check system documentation or configuration files for version information, typically in README or about pages.

Verify Fix Applied:

After implementing fixes, repeat the test with the same payload to ensure it's properly sanitized and doesn't execute.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /admin/add_student.php with script tags or JavaScript in parameters
  • Multiple failed login attempts followed by successful admin access

Network Indicators:

  • HTTP requests containing <script> tags in POST data to the vulnerable endpoint
  • Unexpected redirects or cookie theft patterns

SIEM Query:

source="web_logs" AND uri_path="/admin/add_student.php" AND (request_body CONTAINS "<script>" OR request_body CONTAINS "javascript:")

🔗 References

📤 Share & Export