CVE-2024-35353

9.8 CRITICAL

📋 TL;DR

This CVE describes an Insecure Direct Object Reference (IDOR) vulnerability in Diño Physics School Assistant version 2.3. Attackers can manipulate the 'id' parameter in the /classes/Users.php?f=save endpoint to access or modify unauthorized user data. All users of version 2.3 are affected.

💻 Affected Systems

Products:
  • Diño Physics School Assistant
Versions: 2.3
Operating Systems: All platforms running the software
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default installation of version 2.3.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete compromise of all user accounts, including administrative accounts, leading to data theft, privilege escalation, and system takeover.

🟠

Likely Case

Unauthorized access to sensitive user information, modification of user data, and potential privilege escalation to administrative functions.

🟢

If Mitigated

Limited impact with proper authorization checks preventing unauthorized access to sensitive data.

🌐 Internet-Facing: HIGH
🏢 Internal Only: HIGH

🎯 Exploit Status

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

Exploitation requires at least low-privilege user access but is trivial once authenticated.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Not available

Restart Required: No

Instructions:

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

🔧 Temporary Workarounds

Implement Proper Authorization Checks

all

Add server-side authorization validation to ensure users can only access their own data

Manual code modification required - add authorization logic in /classes/Users.php

Web Application Firewall Rule

all

Block suspicious parameter manipulation in the Users.php endpoint

WAF-specific configuration required

🧯 If You Can't Patch

  • Restrict network access to the application to trusted users only
  • Implement additional authentication layers and monitor for suspicious access patterns

🔍 How to Verify

Check if Vulnerable:

Test if authenticated users can access other users' data by modifying the 'id' parameter in /classes/Users.php?f=save requests

Check Version:

Check application version in admin panel or configuration files

Verify Fix Applied:

Verify that authorization checks prevent users from accessing data belonging to other user IDs

📡 Detection & Monitoring

Log Indicators:

  • Unusual access patterns to /classes/Users.php with different ID parameters
  • Failed authorization attempts in application logs

Network Indicators:

  • Multiple requests to Users.php endpoint with sequential or random ID values

SIEM Query:

source="web_logs" AND uri="/classes/Users.php" AND (parameter="id" AND value!="current_user_id")

🔗 References

📤 Share & Export