VYPR
Medium severity4.7NVD Advisory· Published Jun 13, 2026

CVE-2026-12175

CVE-2026-12175

Description

SQL injection in CodeAstro Student Attendance Management System 1.0 via the admissionNumber parameter in createStudents.php allows remote attackers to manipulate database queries.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

SQL injection in CodeAstro Student Attendance Management System 1.0 via the admissionNumber parameter in createStudents.php allows remote attackers to manipulate database queries.

Vulnerability

A SQL injection vulnerability exists in the /attendance-php/Admin/createStudents.php file of CodeAstro Student Attendance Management System version 1.0. The admissionNumber parameter is directly incorporated into SQL queries without proper sanitization or validation, allowing injection of malicious SQL code. The vulnerability is classified as time-based blind SQL injection, requiring no special configuration beyond the default application setup. [1]

Exploitation

An attacker with network access to the application can send a crafted POST request to the vulnerable endpoint, supplying a malicious payload in the admissionNumber parameter. The exploit does not require authentication or prior privileges. The provided proof-of-concept payload uses a AND (SELECT ... FROM ... WHERE SLEEP(...)) technique to perform time-based blind SQL injection, enabling extraction of data character by character. The exploit code has been publicly released. [1]

Impact

Successful exploitation allows the attacker to gain unauthorized access to the underlying MySQL database. This can lead to leakage of sensitive data (e.g., student records, credentials), data tampering, or even complete compromise of the database server. The attacker may also achieve comprehensive system control or cause service interruption, as the injection can modify or delete database content. [1]

Mitigation

As of the publication date, no official patch or fixed version has been released. The vendor has not issued an advisory. Administrators should restrict access to the /attendance-php/Admin/ directory, implement strict input validation and parameterized queries, or consider migrating to a different attendance management solution. The vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. [1]

AI Insight generated on Jun 13, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

Root cause

"Missing input validation and lack of prepared statements for the admissionNumber parameter allows SQL injection."

Attack vector

An authenticated attacker with administrative privileges sends a crafted POST request to `/attendance-php/Admin/createStudents.php` containing a malicious `admissionNumber` value. The payload (e.g., `123' AND (SELECT 7207 FROM (SELECT(SLEEP(5)))vuOp) AND 'mJNo'='mJNo`) exploits time-based blind SQL injection to exfiltrate data or perform unauthorized operations. The attack is remote and requires no special network access beyond the application's reachability.

Affected code

The vulnerability resides in `/attendance-php/Admin/createStudents.php` of CodeAstro Student Attendance Management System 1.0. The `admissionNumber` POST parameter is directly concatenated into SQL queries without sanitization or parameterization, making the file the sole attack surface.

What the fix does

The advisory recommends using prepared statements with parameter binding to separate SQL code from user input, strict input validation and filtering, minimizing database user permissions, and conducting regular security audits. No official patch has been published by the vendor. Implementing prepared statements would treat the `admissionNumber` value as pure data, preventing it from being interpreted as SQL code.

Preconditions

  • authAttacker must have administrative-level access to the application (PR:H per CVSS).
  • networkApplication must be reachable over the network (AV:N per CVSS).
  • inputThe `admissionNumber` POST parameter is accepted without sanitization.

Reproduction

Send a POST request to `/attendance-php/Admin/createStudents.php` with body `firstName=123&lastName=123&otherName=123&admissionNumber=123' AND (SELECT 7207 FROM (SELECT(SLEEP(5)))vuOp) AND 'mJNo'='mJNo&classId=3&classArmId=5&save=`. A 5-second delay confirms time-based blind SQL injection.

Generated on Jun 13, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

0

No linked articles in our index yet.