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.

2704+ 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. SQL Injection Hits SourceCodester Timetabling System Again
SQL Injection Hits SourceCodester Timetabling System Again
SECURITYHIGHCVE-2026-86220

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.

Dylan H.

Security Team

September 7, 2026
4 min read

Affected Products

  • SourceCodester Class and Exam Timetabling System 1.0

Executive Summary

CVE-2026-86220 is an unauthenticated SQL injection vulnerability in SourceCodester Class and Exam Timetabling System 1.0, affecting the mysqli_query call in /admin/modal_add_course.php. The course argument is passed straight into a SQL statement without sanitization, letting a remote, unauthenticated attacker manipulate the query. Public exploit code is already available.

CVSS 3.1 Score: 7.3 (High)


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-86220
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_course.php
Affected Parametercourse
Exploit AvailabilityPublic exploit published
AssignerVulDB

Affected Versions

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

No vendor patch currently exists for this codebase.


Technical Details

modal_add_course.php is intended to insert a new course record via an admin-facing modal form. The course parameter is concatenated directly into the SQL query passed to mysqli_query, without parameterization or input validation. An attacker who can reach this endpoint — no authentication required — can substitute SQL syntax for the expected course name and alter the query's behavior.

1. Attacker locates a public-facing deployment of the Timetabling System
2. Attacker sends a crafted "course" value to /admin/modal_add_course.php
3. The unsanitized parameter is executed directly by the DBMS
4. Attacker can enumerate or dump entire tables — student records,
   course catalogs, admin credentials
5. Depending on DBMS privileges (e.g. MySQL with FILE enabled), the
   attacker may read/write files via LOAD_FILE or INTO OUTFILE,
   escalating toward full server compromise

One analysis characterizes exploitation as pre-auth time-based blind SQL injection, meaning an attacker doesn't need visible query output — timing differences in server responses are enough to extract data byte by byte.

Impact of Successful Exploitation

ImpactDescription
Data ExfiltrationDump course, student, and administrator records from the database
Data TamperingInsert or modify arbitrary course entries
Privilege EscalationPotential access to administrator credentials stored in the same database
Server CompromisePossible OS-level file access if DBMS privileges permit it

Mitigation

  1. Restrict access to /admin/modal_add_course.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. Validate the course input server-side, rejecting unexpected characters and enforcing a strict format.
  4. Apply WAF rules to catch common SQLi payloads, including time-based blind injection patterns, targeting this endpoint.
  5. Audit the course table for unexpected inserts or modifications.
  6. Minimize database account privileges for the web application — no FILE privilege, no unnecessary grants.

This is one of several near-identical SQL injection disclosures found across /admin/modal_add_*.php and delete_*.php endpoints in this same codebase over the past few weeks. Administrators running this software should assume other unaudited endpoints likely share the same pattern and review the entire admin panel proactively rather than patching endpoint by endpoint.


Detection Indicators

IndicatorDescription
Requests to /admin/modal_add_course.php with SQL syntax in the course fieldLikely exploitation attempts
SQL syntax fragments (UNION, SELECT, SLEEP, --, ') in logs for this endpointInjection probing, including time-based blind techniques
Unusually slow response times on this endpointPossible time-based blind SQLi in progress
Unexpected inserts in the course tablePossible successful exploitation

References

  • NIST NVD — CVE-2026-86220
  • VulDB — CVE-2026-86220
  • RedPacket Security — CVE Alert: CVE-2026-86220

Related Reading

  • Second SQL Injection Hits SourceCodester Timetabling System
  • SQL Injection in SourceCodester Class & Exam Timetabling delete_teacher.php
  • CVE-2026-3589: WooCommerce CSRF Flaw Allows Unauthenticated
#CVE#SQL Injection#SourceCodester#Web Security#CVE-2026-86220

Related Articles

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-13485: SQL Injection in SourceCodester Class and Exam Timetabling System

A high-severity SQL injection vulnerability in SourceCodester's Class and Exam Timetabling System 1.0 allows unauthenticated remote attackers to...

4 min read

CVE-2026-14771: SQL Injection in SourceCodester Class and Exam Timetabling System

An unauthenticated remote SQL injection vulnerability in SourceCodester's Class and Exam Timetabling System 1.0 allows attackers to manipulate the id...

3 min read
Back to all Security Alerts