Cyber Posture

CVE-2025-0298

MediumPublic PoC

Published: 07 January 2025

Published
07 January 2025
Modified
07 April 2025
KEV Added
Patch
CVSS Score 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0010 26.8th percentile
Risk Priority 13 60% EPSS · 20% KEV · 20% CVSS

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

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 2 other techniques. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly prevents SQL injection by requiring validation of untrusted inputs like the usernm argument in /process_login.php.

prevent

Mandates identification, reporting, and correction of the specific SQL injection flaw in the Online Book Shop 1.0 application.

detect

Vulnerability scanning identifies SQL injection vulnerabilities such as the one affecting /process_login.php processing.

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.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
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)

Affected Products

code-projects
online book shop
1.0

CVEs Like This One

CVE-2025-0299Same product: Code-Projects Online Book Shop
CVE-2025-0296Same product: Code-Projects Online Book Shop
CVE-2025-1379Same vendor: Code-Projects
CVE-2025-7185Same vendor: Code-Projects
CVE-2025-2037Same vendor: Code-Projects
CVE-2025-0203Same vendor: Code-Projects
CVE-2025-2039Same vendor: Code-Projects
CVE-2025-2044Same vendor: Code-Projects
CVE-2025-0205Same vendor: Code-Projects
CVE-2025-0207Same vendor: Code-Projects

References