Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
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.

2706+ Articles
165+ 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. Third SourceCodester Timetabling SQLi Hits the Admin Product Form
Third SourceCodester Timetabling SQLi Hits the Admin Product Form
SECURITYHIGHCVE-2026-86224

Third SourceCodester Timetabling SQLi Hits the Admin Product Form

CVE-2026-86224: a pre-auth SQL injection in SourceCodester's Timetabling System admin panel via the fname parameter in modal_add_product.php.

Dylan H.

Security Team

September 7, 2026
4 min read

Affected Products

  • SourceCodester Class and Exam Timetabling System 1.0

Executive Summary

A third SQL injection vulnerability, CVE-2026-86224, has been disclosed in SourceCodester Class and Exam Timetabling System 1.0, following two related flaws published in the same product line (CVE-2026-86208 and CVE-2026-86209). This time the vulnerable code lives in /admin/modal_add_product.php, where the fname POST parameter is concatenated directly into a mysqli_query() call without sanitization. A proof of concept has confirmed the flaw is exploitable pre-authentication, and public exploit code is already circulating.

CVSS 3.1 Score: 7.3 (High)


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-86224
CVSS 3.1 Score7.3 (High)
CVSS 4.0 Score6.9 (Medium)
TypeSQL Injection (CWE-89)
Attack VectorNetwork — remote, unauthenticated
Affected Endpoint/admin/modal_add_product.php
Affected Parameterfname (POST)
Exploit AvailabilityPublic exploit published
AssignerVulDB

Affected Versions

ProductAffected VersionsFixed Version
SourceCodester Class and Exam Timetabling System1.0None available

As with the two related flaws in this codebase, no vendor patch currently exists.


Technical Details

admin/modal_add_product.php accepts a POST request carrying fname, lname, arank, designation, department, and go — used to add a staff record from the admin panel. Around line 59 the fname value is read from $_POST and, around lines 65–66, concatenated directly into a mysqli_query() call with no escaping, parameterization, or type validation.

1. Attacker sends a crafted POST request to /admin/modal_add_product.php
2. The request includes a malicious `fname` value and does NOT require
   a valid session cookie — the endpoint fails to enforce authentication
3. The unsanitized parameter reaches mysqli_query() unmodified
4. A quoted payload returns HTTP 200 with visible SQL error output,
   confirming injection
5. A time-based blind technique (fname=' OR SLEEP(5)-- -) was confirmed
   via sqlmap, allowing full database enumeration without ever seeing
   query output directly

Pre-Authentication Confirmation

Testing against a local Docker deployment showed the endpoint returns a valid response and SQL error output for a quoted fname payload without sending any authenticated session cookie — meaning the admin-panel form is reachable and injectable by an anonymous, unauthenticated attacker despite living under /admin/.

Impact of Successful Exploitation

ImpactDescription
Data ExfiltrationDump staff, student, and exam records via blind SQLi
Data TamperingInsert or corrupt records in the product/staff table
Privilege EscalationPotential access to administrator credentials stored in the same database
Server CompromisePossible OS-level file access if the DBMS account has FILE privileges

Mitigation

  1. Restrict access to /admin/modal_add_product.php at the web server or firewall level until remediated.
  2. Rewrite the query to use prepared statements with bound parameters instead of string concatenation.
  3. Enforce session authentication server-side on every /admin/ endpoint — the fact this form ran without a valid session is a separate access-control defect worth auditing.
  4. Validate all POST fields (fname, lname, arank, designation, department) server-side, rejecting unexpected characters.
  5. Apply WAF rules to catch time-based blind SQLi patterns (SLEEP(, BENCHMARK(, OR 1=1) targeting this endpoint.
  6. Minimize database account privileges for the web application — no FILE privilege, no unnecessary grants.

This is the third SQL injection disclosed in this codebase in roughly a week (see also CVE-2026-86208 and CVE-2026-86209), with related reports for additional modal_add_*.php endpoints also under review by the same researcher. Administrators running this software should treat every endpoint under /admin/modal_add_*.php as unaudited and likely vulnerable until proven otherwise.


Detection Indicators

IndicatorDescription
POST requests to /admin/modal_add_product.php without a valid session cookieAuthentication-bypass probing
SLEEP(, BENCHMARK(, or UNION SELECT in the fname field of logged requestsInjection probing
Abnormal response-time spikes on this endpointPossible time-based blind SQLi in progress

References

  • VulDB — CVE-2026-86224
  • OffSeq Threat Radar — CVE-2026-86224
  • NIST NVD — CVE-2026-86224

Related Reading

  • Second SQL Injection Hits SourceCodester Timetabling System
  • SQL Injection in SourceCodester Class & Exam Timetabling System
  • Critical RCE in WPvivid Backup Plugin Threatens 900,000+
#CVE#SQL Injection#SourceCodester#Web Security#CVE-2026-86224

Related Articles

SQL Injection Hits SourceCodester Timetabling System Again

CVE-2026-86220: an unauthenticated SQLi in SourceCodester's Class and Exam Timetabling System lets attackers inject via modal_add_course.php.

4 min read

Second SQL Injection Hits SourceCodester Timetabling System

CVE-2026-86209: SourceCodester's Class and Exam Timetabling System 1.0 has a second unauthenticated SQLi, this time in delete_user.php.

4 min read

CVE-2026-14734: SQL Injection in SourceCodester Timetabling System via /edit_product.php

A high-severity SQL injection vulnerability in SourceCodester Class and Exam Timetabling System 1.0 allows remote attackers to manipulate the database via...

3 min read
Back to all Security Alerts