CVE-2025-7179
Published: 08 July 2025
Summary
CVE-2025-7179 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 SI-2 (Flaw Remediation).
Deeper analysis
CVE-2025-7179 is a critical SQL injection vulnerability (CWE-74, CWE-89) discovered in code-projects Library System 1.0. The issue resides in unknown code within the /add-teacher.php file, where manipulation of the Username argument enables the injection. Published on 2025-07-08, it carries 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).
Remote attackers can exploit this vulnerability without authentication or user interaction, requiring only low attack complexity. Successful exploitation allows partial impacts on confidentiality, integrity, and availability through SQL injection, potentially enabling data exfiltration, modification, or disruption.
Advisories referenced on VulDB (ctiid.315118, id.315118, submit.606912) and a GitHub issue (github.com/kobeforever26/cve/issues/1) detail the vulnerability, noting that the exploit has been publicly disclosed and may be used in attacks. The vendor site (code-projects.org) is also listed among references.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-20478
Vulnerability details
A vulnerability classified as critical was found in code-projects Library System 1.0. This vulnerability affects unknown code of the file /add-teacher.php. The manipulation of the argument Username leads to sql injection. The attack can be initiated remotely. The exploit has…
more
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 app (/add-teacher.php) enables exploitation for initial access (T1190) and unauthorized database queries for data collection (T1213.006), as demonstrated by sqlmap POC for DB enumeration and extraction.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly requires validation and sanitization of untrusted input (Username parameter) to block SQL injection payloads before they reach the database.
Mandates timely remediation of the publicly disclosed flaw in add-teacher.php, eliminating the SQL injection vulnerability at the source.
Boundary protection mechanisms such as WAF rules or input filtering at network/application perimeters can block remote SQL injection attempts against the unauthenticated endpoint.