Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsStudyTraining
ProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Study
Training
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

1310+ Articles
157+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-10167: School Student Management System Cookie Auth Bypass
CVE-2026-10167: School Student Management System Cookie Auth Bypass
SECURITYHIGHCVE-2026-10167

CVE-2026-10167: School Student Management System Cookie Auth Bypass

A high-severity authentication bypass vulnerability in OUSL-GROUP BrinaryBrains School Student Management System allows manipulation of the sign_auth_cookie function, enabling unauthorized access via crafted cookie values. CVSS 7.3.

Dylan H.

Security Team

May 31, 2026
4 min read

Affected Products

  • OUSL-GROUP BrinaryBrains School Student Management System (up to commit 1e70e5ad)

Executive Summary

A high-severity authentication bypass vulnerability (CVE-2026-10167) has been disclosed in the OUSL-GROUP BrinaryBrains School Student Management System, a PHP-based academic management platform. The flaw resides in the sign_auth_cookie function within application/controllers/Login.php, part of the MY_Controller component. Manipulation of the cookie argument can allow an attacker to bypass authentication controls.

CVSS Score: 7.3 (High)

The vulnerability was published to the NVD on May 31, 2026 and affects all versions up to commit 1e70e5ad1125b86dca4ee086eb6bb121f17708b6.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-10167
CVSS Score7.3 (High)
TypeImproper Authentication / Cookie Manipulation
Affected ComponentMY_Controller → sign_auth_cookie()
Affected Fileapplication/controllers/Login.php
Attack VectorNetwork
Published2026-05-31
SourceNVD / OUSL-GROUP BrinaryBrains

Affected Products

ProductAffected VersionsStatus
BrinaryBrains School Student Management SystemUp to commit 1e70e5adVulnerable

This is a PHP CodeIgniter-based school management application used to manage student records, academic scheduling, and administrative operations for educational institutions.


Technical Details

What Is the Vulnerability?

The vulnerability lies in the sign_auth_cookie function within the MY_Controller base controller. Authentication cookie signing in PHP applications commonly involves generating a cryptographic signature or HMAC over user-supplied session data. If the signing logic is weak — for example, relying on predictable values, failing to properly validate the cookie contents, or using insecure comparison methods — an attacker can forge or manipulate cookies to impersonate authenticated users, including administrators.

Attack Vector

1. Attacker observes or intercepts a legitimate authentication cookie
2. Crafts a manipulated cookie value exploiting the flawed sign_auth_cookie logic
3. Submits the crafted cookie to the application
4. Server-side validation accepts the forged cookie
5. Attacker gains unauthorized access as the impersonated user
6. Potential for full administrative access depending on target user role

Why PHP Cookie Auth Bugs Are High-Risk

Cookie-based authentication bypass vulnerabilities in school management systems are particularly dangerous because:

  • Student and staff PII (names, contact details, grades, health information) is accessible
  • Administrative accounts can modify records, grades, and enrollment data
  • Many school management systems run on shared hosting with minimal security hardening
  • Academic institutions often have delayed patch cycles

Impact Assessment

Impact AreaDescription
Authentication BypassUnauthorized access to protected application areas
Privilege EscalationPotential access to admin-level functionality
Data ExposureStudent PII, academic records, staff information
Data ManipulationUnauthorized modification of grades or enrollment records
Lateral MovementAccess to connected systems if credentials are reused

Recommendations

Immediate Actions

  1. Audit the sign_auth_cookie function in application/controllers/Login.php — replace any weak signing logic with HMAC-SHA256 using a strong secret key
  2. Rotate all session secrets and force re-authentication for all active sessions
  3. Apply the latest patch or update from the OUSL-GROUP BrinaryBrains repository once released
  4. Invalidate existing cookies to ensure forged sessions are terminated

Hardening Measures

- Use PHP's built-in session handling with HttpOnly and Secure cookie flags
- Implement constant-time comparison (hash_equals()) for cookie validation
- Add rate limiting and anomaly detection on login endpoints
- Enable logging for all authentication events
- Conduct a full code audit of MY_Controller and related auth logic

If Running This Software

  1. Verify your commit — check if you are running a version beyond commit 1e70e5ad1125b86dca4ee086eb6bb121f17708b6
  2. Monitor access logs for unexpected authenticated sessions
  3. Restrict access to the admin panel by IP if possible
  4. Consider a WAF rule to block suspicious cookie manipulation attempts

Detection Indicators

IndicatorDescription
Abnormal session patternsAuthenticated sessions without a corresponding login event
Cookie anomaliesMalformed or unexpected cookie signatures in access logs
Unexpected admin activityAdministrative actions performed outside normal hours or from unusual IPs
Failed auth followed by successBrute-force or trial-and-error cookie manipulation

References

  • NIST NVD — CVE-2026-10167
  • OUSL-GROUP BrinaryBrains Repository
#CVE-2026-10167#PHP#Authentication Bypass#Student Management System#NVD#High

Related Articles

CVE-2026-10236: Improper Authorization in SourceCodester Water Billing Management System

A remotely exploitable improper authorization vulnerability in the SourceCodester Water Billing Management System 1.0 allows unauthenticated attackers to perform unauthorized actions via the User Management endpoint.

5 min read

CVE-2026-8293: Really Simple Security WordPress Plugin 2FA Authentication Bypass

The Really Simple Security WordPress plugin before 9.5.10.1 fails to enforce the second-factor challenge on two REST API endpoints, allowing attackers with a valid password to bypass two-factor authentication and gain full account access. CVSS 7.5.

5 min read

CVE-2026-10110: SQL Injection in Student Details Management System 1.0

A remotely exploitable SQL injection vulnerability in code-projects Student Details Management System 1.0 allows attackers to manipulate database queries...

4 min read
Back to all Security Alerts