Skip to content
Threat Feed
high advisory

SQL Injection in SourceCodester College Notes Gallery Management System

SourceCodester College Notes Gallery Management System version 1.0 contains a SQL injection vulnerability in the login.php file, allowing unauthenticated remote attackers to execute arbitrary database queries.

CVE search metadata

CVE search record: CVE-2026-90849. Severity: high. CVSS: 7.3. KEV: no. Product: College Notes Gallery Management System (1.0). Brief: SQL Injection in SourceCodester College Notes Gallery Management System. Brief link: https://feed.craftedsignal.io/briefs/2026-09-college-notes-sql-injection/

SourceCodester College Notes Gallery Management System version 1.0 contains a critical SQL injection vulnerability in the login.php file. The application fails to properly sanitize the 'User' argument passed to the authentication endpoint. An unauthenticated remote attacker can exploit this flaw by submitting crafted input through the login form, allowing them to manipulate back-end database queries. This vulnerability is publicly disclosed, increasing the risk of exploitation by automated scanners and opportunistic threat actors. Successful exploitation can lead to unauthorized access, data exfiltration, or modification of the application database. Organizations using this software should restrict access to the login portal and prioritize remediation.

Attack Chain

  1. Attacker identifies the target login page hosted at /College/login.php.
  2. Attacker probes the 'User' POST parameter for SQL injection vectors.
  3. Attacker submits a crafted payload containing SQL special characters or logic-altering commands (e.g., OR 1=1).
  4. The back-end database executes the injected command as part of the authentication check.
  5. The application returns database information, bypasses authentication, or allows data manipulation.
  6. Attacker gains unauthorized administrative access to the management system.

Impact

Successful exploitation allows unauthenticated remote attackers to bypass authentication, potentially exposing sensitive college administrative data or gallery content. The impact includes full compromise of the application's database, leading to potential data loss or unauthorized administrative access to the platform.

Recommendation

  1. Restrict access to the /College/login.php endpoint to authorized IP ranges or implement WAF rules to detect and block SQL injection patterns.
  2. Implement parameterized queries for all database interactions involving user-supplied input in the College Notes Gallery Management System.
  3. Deploy the Sigma rules below to monitor for suspicious POST requests to the authentication endpoint containing SQL control characters.
  4. Perform an audit of application database logs to identify signs of unauthorized access or unexpected error patterns.

Immediate actions

Review logs for indicators of SQL injection directed at /College/login.php

SOC 24h

Mitigations

Implement WAF blocking rules for SQLi signatures on the /College/login.php endpoint

immediate IT Operations

CVE-2026-90849

Detection coverage 1

Detect CVE-2026-90849 Exploitation - SQL Injection via Login

high

Detects exploitation of CVE-2026-90849 by identifying SQL injection characters in the 'User' argument within POST requests to login.php

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →