Cyber Resilience

CVE-2025-7173

MediumPublic PoC

Published: 08 July 2025

Published
08 July 2025
Modified
29 April 2026
KEV Added
Patch
CVSS Score v4 5.5 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0028 51.4th percentile
Risk Priority 11 60% EPSS · 20% KEV · 20% CVSS

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

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

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.
T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
T1565.001 Stored Data Manipulation Impact
Adversaries may insert, delete, or manipulate data at rest in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
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

CVE-2025-7199Same product: Code-Projects Library System
CVE-2025-7184Same product: Code-Projects Library System
CVE-2025-7174Same product: Code-Projects Library System
CVE-2025-7179Same product: Code-Projects Library System
CVE-2025-7185Same product: Code-Projects Library System
CVE-2025-7412Same product: Code-Projects Library System
CVE-2025-7413Same product: Code-Projects Library System
CVE-2025-7171Same vendor: Code-Projects
CVE-2025-7172Same vendor: Code-Projects
CVE-2025-2385Same vendor: Code-Projects

Affected Assets

code-projects
library system
1.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation and sanitization of the Username input in /add-student.php to block SQL injection payloads before they reach the database.

prevent

Boundary protection devices such as WAFs or IPS can inspect and drop remote SQL injection attempts targeting the unauthenticated /add-student.php endpoint.

prevent

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.

References