Cyber Resilience

CVE-2025-7174

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-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

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

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.
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

CVE-2025-7184Same product: Code-Projects Library System
CVE-2025-7179Same product: Code-Projects Library System
CVE-2025-7173Same product: Code-Projects Library System
CVE-2025-7185Same product: Code-Projects Library System
CVE-2025-7199Same product: Code-Projects Library System
CVE-2025-7412Same product: Code-Projects Library System
CVE-2025-7413Same product: Code-Projects Library System
CVE-2025-7172Same vendor: Code-Projects
CVE-2025-2385Same vendor: Code-Projects
CVE-2024-13093Same vendor: Code-Projects

Affected Assets

code-projects
library system
1.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation of the idn parameter in teacher-issue-book.php to reject malformed SQL before it reaches the database.

preventdetect

Boundary protection devices (e.g., WAF rules) can inspect and block SQL injection payloads targeting the exposed /teacher-issue-book.php endpoint.

detect

Continuous monitoring of web/application logs and database queries can identify anomalous SQL syntax originating from the idn argument.

References