CVE-2025-7174
Published: 08 July 2025
Summary
CVE-2025-7174 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-7174 is a critical SQL injection vulnerability (CWE-74, CWE-89) in code-projects Library System 1.0. The flaw resides in the processing of the /teacher-issue-book.php file, where manipulation of the "idn" argument enables attackers to inject malicious SQL queries. Published on 2025-07-08 with a CVSS v3.1 base score of 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L), it affects the application's backend database handling.
Remote attackers require no privileges or user interaction to exploit this vulnerability over the network with low attack complexity. Successful exploitation grants low-level access to confidential data (C:L), allows limited modification of data or behavior (I:L), and can cause partial denial of service (A:L), such as unauthorized reads, updates, or disruptions to the library system's database operations.
Advisories from VulDB (ctiid.315113, id.315113, submit.606657) and a GitHub issue (Qq2240151/CVE/issues/1) document the vulnerability, with the original project site at code-projects.org. The exploit has been publicly disclosed and is available for use, but no specific patches or mitigations are detailed in the provided references.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-20454
Vulnerability details
A vulnerability was found in code-projects Library System 1.0 and classified as critical. This issue affects some unknown processing of the file /teacher-issue-book.php. The manipulation of the argument idn leads to sql injection. The attack may 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 (/teacher-issue-book.php) enables exploitation (T1190) and database query/manipulation for unauthorized data access (T1213.006).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly requires validation of the idn parameter in teacher-issue-book.php to reject malformed SQL before it reaches the database.
Boundary protection devices (e.g., WAF rules) can inspect and block SQL injection payloads targeting the exposed /teacher-issue-book.php endpoint.
Continuous monitoring of web/application logs and database queries can identify anomalous SQL syntax originating from the idn argument.