Skip to main content
Vulnerability Database/CVE-2026-91107

CVE-2026-91107: openSIS Classic Authentication Bypass Flaw

CVE-2026-91107 is an authentication bypass vulnerability in openSIS Classic 9.3 allowing authenticated teachers to reset passwords of arbitrary staff accounts. This article covers the technical details, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-91107 Overview

CVE-2026-91107 is a broken access control vulnerability in openSIS Classic 9.3, a widely deployed open-source student information system. An authenticated user holding the built-in teacher role can supply an arbitrary staff_id parameter and trigger the School Information update path to reset the password of the selected staff account. The flaw allows a low-privileged teacher to take over administrator or other staff accounts without additional authentication. The vulnerability is tracked under CWE-639: Authorization Bypass Through User-Controlled Key.

Critical Impact

An authenticated teacher can hijack any staff account, including administrators, by resetting its password through the School Information update endpoint.

Affected Products

  • openSIS Classic 9.3
  • Earlier releases sharing the vulnerable Staff.php and SchoolsInfoInc.php code paths
  • Deployments maintained from the OS4ED/openSIS-Classic GitHub repository prior to commit 24bb530

Discovery Timeline

  • 2026-10-05 - CVE-2026-91107 published to the National Vulnerability Database
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-91107

Vulnerability Analysis

The flaw resides in how openSIS Classic trusts the staff_id value supplied in HTTP requests. In modules/users/Staff.php, the application copies the attacker-controlled staff_id request parameter into $_SESSION['staff_id'] whenever the session value is empty. The School Information update handler then uses that session value to identify which staff account should receive form updates, including password changes. A teacher account can therefore submit a request specifying another staff member's identifier and reset the targeted account's password through the normal update workflow.

Because the flaw permits full account takeover of administrator accounts, it enables lateral movement into higher privileged roles within the student information system. Downstream impact includes exposure of student personally identifiable information (PII), modification of grades, and tampering with enrollment and financial records.

Root Cause

The underlying issue is an Insecure Direct Object Reference. The code accepts $_REQUEST['staff_id'] as the authoritative identifier for the account being modified without verifying that the authenticated session actually owns that staff record. No role check, ownership check, or cross-reference against the login_authentication table is performed before granting write access to the targeted account's fields.

Attack Vector

Exploitation requires network access to the openSIS web interface and valid credentials for any account with the teacher role. The attacker browses to the School Information or staff update endpoint, overrides the staff_id parameter with the identifier of a target staff account, and submits new password values. The server stores the attacker-supplied credentials for the victim account, enabling immediate login as that user.

php
// Vulnerable logic in modules/users/Staff.php (pre-patch)
if ($_SESSION['staff_id'] == '' && $_REQUEST['staff_id'] != 'new')
    $_SESSION['staff_id'] = $_REQUEST['staff_id'];

// Patched logic validates that the requested staff_id
// actually belongs to the authenticated user
if ($_SESSION['staff_id'] == '' && $_REQUEST['staff_id'] != 'new'){
    $user_auth_check = DBGet(DBQuery("SELECT user_id FROM login_authentication WHERE USERNAME='".$_SESSION['USERNAME']."' AND PROFILE_ID=".$_SESSION['PROFILE_ID'].""));
    if(isset($_REQUEST['staff_id']) && $_REQUEST['staff_id']== $user_auth_check)
        $_SESSION['staff_id'] = $_REQUEST['staff_id'];
    else
        $_SESSION['staff_id'] = '';
}

Source: OS4ED/openSIS-Classic commit 24bb530

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-91107

Indicators of Compromise

  • POST requests to modules/users/Staff.php or SchoolsInfoInc.php originating from teacher-role sessions but referencing staff_id values belonging to administrators
  • Unexpected password hash changes in the login_authentication or staff tables for privileged accounts
  • New successful logins for administrator accounts from source IP addresses previously associated only with teacher sessions
  • Session identifiers whose $_SESSION['staff_id'] value does not match the USER_ID returned by login_authentication for the active username

Detection Strategies

  • Review web server access logs for requests that include a staff_id parameter where the submitting user's profile is teacher rather than admin
  • Enable database audit logging on the staff and login_authentication tables to flag UPDATE statements affecting rows outside the invoking user's own record
  • Correlate password change events with the originating session's profile and compare against expected administrative workflows

Monitoring Recommendations

  • Alert when any non-admin session triggers a password update for an account with the admin profile
  • Track the volume of School Information update POSTs per user and investigate statistical outliers
  • Forward openSIS application and web server logs to a centralized analytics platform for retention and correlation

How to Mitigate CVE-2026-91107

Immediate Actions Required

  • Apply upstream commit 24bb530391a67c114cd4fe3dff65da7e070f5ed1 to patch modules/users/Staff.php and modules/users/includes/SchoolsInfoInc.php
  • Force a password reset for all administrator and privileged staff accounts in affected installations
  • Audit the login_authentication table for unauthorized password changes since the vulnerable version was deployed
  • Temporarily restrict teacher-role access to the School Information module until the patch is deployed

Patch Information

The maintainers fixed the issue by adding an authorization check that validates the requested staff_id against the authenticated user's USER_ID in the login_authentication table. If the identifiers do not match and the profile is not admin, the server responds with HTTP 403 and refuses the update. The patch is published in the OS4ED/openSIS-Classic GitHub repository and documented in the Fluid Attacks security advisory.

Workarounds

  • Place a web application firewall (WAF) rule in front of openSIS to block requests where staff_id is submitted by sessions whose profile cookie is not admin
  • Disable the teacher role's access to staff and school information editing paths through server-side URL filtering
  • Restrict network access to the openSIS administrative interface to trusted IP ranges only
bash
# Example reverse proxy rule to block teacher-role requests that include a staff_id parameter
location ~ /modules/users/(Staff\.php|includes/SchoolsInfoInc\.php) {
    if ($cookie_profile != "admin") {
        if ($arg_staff_id ~ "^[0-9]+$") {
            return 403;
        }
    }
    proxy_pass http://opensis_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.