CVE-2025-0298
Published: 07 January 2025
Summary
CVE-2025-0298 is a medium-severity Injection (CWE-74) vulnerability in Code-Projects Online Book Shop. Its CVSS base score is 6.3 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 26.8th percentile by exploit likelihood (below the median); 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 RA-5 (Vulnerability Monitoring and Scanning) and SI-10 (Information Input Validation).
Threat & Defense at a Glance
Threat & Defense Details
Mitigating Controls (NIST 800-53 r5)AI
Directly prevents SQL injection by requiring validation of untrusted inputs like the usernm argument in /process_login.php.
Mandates identification, reporting, and correction of the specific SQL injection flaw in the Online Book Shop 1.0 application.
Vulnerability scanning identifies SQL injection vulnerabilities such as the one affecting /process_login.php processing.
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
SQL injection in public-facing web app login endpoint enables initial access via exploitation (T1190), data collection from databases (T1213.006), and abuse of server software components potentially leading to RCE (T1505 as cited in advisory).
NVD Description
A vulnerability was found in code-projects Online Book Shop 1.0. It has been rated as critical. This issue affects some unknown processing of the file /process_login.php. The manipulation of the argument usernm leads to sql injection. The attack may be…
more
initiated remotely. The exploit has been disclosed to the public and may be used.
Deeper analysisAI
CVE-2025-0298 is a SQL injection vulnerability in code-projects Online Book Shop 1.0. The flaw affects the processing of the /process_login.php file, where manipulation of the "usernm" argument enables SQL code injection. Rated as critical with a CVSS v3.1 base score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L), it maps to CWE-74 (Improper Neutralization of Special Elements used in an SQL Command) and CWE-89 (SQL Injection). The vulnerability was published on 2025-01-07.
The attack can be initiated remotely by adversaries with low privileges, requiring low attack complexity and no user interaction. Exploitation allows limited impacts on confidentiality, integrity, and availability, such as unauthorized data access, modification, or service disruption via injected SQL queries.
Advisories referenced in VulDB entries (vuldb.com/?ctiid.290447, vuldb.com/?id.290447, vuldb.com/?submit.475159) document the issue, while a public exploit is available in a GitHub Gist (gist.github.com/th4s1s/5435e605e6e9f14a5b76c313483eb58a) and the project site is at code-projects.org. No patches or specific mitigations are detailed in the provided information, and the exploit has been disclosed publicly for potential use.
Details
- CWE(s)