CVE-2025-7173
Published: 08 July 2025
Summary
CVE-2025-7173 is a medium-severity Injection (CWE-74) vulnerability in Code-Projects Library System. Its CVSS base score is 5.5 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 48.6% of CVEs by exploit likelihood; 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 SI-10 (Information Input Validation) and SC-7 (Boundary Protection).
Deeper analysis
CVE-2025-7173 is a critical SQL injection vulnerability (CWE-74, CWE-89) in code-projects Library System 1.0, published on 2025-07-08. The issue resides in unknown code within the /add-student.php file, where manipulation of the Username argument triggers the injection.
The vulnerability enables remote exploitation by unauthenticated attackers (AV:N/AC:L/PR:N/UI:N) with low complexity and no user interaction. Successful attacks can result in limited impacts to confidentiality, integrity, and availability (C:L/I:L/A:L), yielding a CVSS v3.1 base score of 7.3.
Advisories from VulDB (ctiid.315112, id.315112, submit.606656) and a GitHub issue (https://github.com/Qq2240151/CVE/issues/2) document the flaw, with the exploit disclosed publicly and available for use. The project site (https://code-projects.org/) provides context on the affected Library System.
The public disclosure of the exploit increases the risk of active exploitation against unpatched instances.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-20421
Vulnerability details
A vulnerability has been found in code-projects Library System 1.0 and classified as critical. This vulnerability affects unknown code of the file /add-student.php. The manipulation of the argument Username leads to sql injection. The attack can be initiated remotely. The…
more
exploit has been disclosed to the public and may be used.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
SQL injection in unauthenticated public-facing web application (/add-student.php) enables exploitation for initial access (T1190), data collection from databases (T1213.006), and stored data manipulation in databases (T1565.001).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly requires validation and sanitization of the Username input in /add-student.php to block SQL injection payloads before they reach the database.
Boundary protection devices such as WAFs or IPS can inspect and drop remote SQL injection attempts targeting the unauthenticated /add-student.php endpoint.
Requires timely remediation of the known SQL injection flaw in the Library System 1.0 code so the vulnerable add-student.php logic is replaced or patched.