Cyber Posture

CVE-2025-0203

MediumPublic PoC

Published: 04 January 2025

Published
04 January 2025
Modified
22 January 2025
KEV Added
Patch
CVSS Score 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0007 21.4th percentile
Risk Priority 13 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-0203 is a medium-severity Injection (CWE-74) vulnerability in Code-Projects Student Management System. Its CVSS base score is 6.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 21.4th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 RA-5 (Vulnerability Monitoring and Scanning) and SI-10 (Information Input Validation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 2 other techniques. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly prevents SQL injection by requiring validation mechanisms for inputs like the 'sid' argument in /config/DbFunction.php.

prevent

Mandates timely identification, reporting, and correction of the specific SQL injection flaw in the Student Management System.

detect

Enables vulnerability scanning to identify the SQL injection vulnerability (CVE-2025-0203) in the showSubject1 function.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
Why these techniques?

SQL injection in public-facing web application enables exploitation of public-facing application (T1190), server software component abuse (T1505 as cited in advisory), and data collection from databases via arbitrary queries (T1213.006).

NVD Description

A vulnerability was found in code-projects Student Management System 1.0. It has been declared as critical. This vulnerability affects the function showSubject1 of the file /config/DbFunction.php. The manipulation of the argument sid leads to sql injection. The attack can be…

more

initiated remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.

Deeper analysisAI

CVE-2025-0203 is a critical SQL injection vulnerability (CWE-74, CWE-89) in code-projects Student Management System version 1.0. The issue resides in the showSubject1 function within the file /config/DbFunction.php, where manipulation of the sid argument enables injection. It carries a CVSS v3.1 base score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) and can be exploited remotely.

An attacker requires low privileges, such as those of an authenticated user, to initiate the attack over the network with low complexity and no user interaction. Exploitation allows limited impacts, including partial unauthorized disclosure of information, modification of data, or denial of service affecting availability.

Advisories on VulDB detail the vulnerability and note that the exploit has been publicly disclosed via a GitHub Gist, making it available for use. Practitioners should review references including code-projects.org, https://gist.github.com/th4s1s/e8488d7e35d789581979f3b7e4c48b1f, and VulDB entries (ctiid.290140, id.290140, submit.473410) for mitigation steps, as other parameters may also be vulnerable.

Details

CWE(s)

Affected Products

code-projects
student management system
1.0

CVEs Like This One

CVE-2025-1379Same vendor: Code-Projects
CVE-2025-7185Same vendor: Code-Projects
CVE-2025-2037Same vendor: Code-Projects
CVE-2025-2039Same vendor: Code-Projects
CVE-2025-2044Same vendor: Code-Projects
CVE-2025-0298Same vendor: Code-Projects
CVE-2025-0205Same vendor: Code-Projects
CVE-2025-0207Same vendor: Code-Projects
CVE-2025-0171Same vendor: Code-Projects
CVE-2025-7191Same vendor: Code-Projects

References