Cyber Posture

CVE-2025-3018

MediumPublic PoC

Published: 31 March 2025

Published
31 March 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.0008 22.8th percentile
Risk Priority 13 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-3018 is a medium-severity Injection (CWE-74) vulnerability in Oretnom23 Online Eyewear 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 22.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 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 1 other technique. 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 the manipulated ID argument before its use in database queries within Users.php.

prevent

Mandates timely identification, reporting, and correction of the specific SQL injection flaw in the delete function to eliminate exploitability.

prevent

Restricts types and quantities of inputs for the ID parameter, blocking common SQL injection payloads as a complementary measure.

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 public-facing web application (/classes/Users.php?f=delete) enables exploitation for initial access (T1190) and data collection from databases via arbitrary SQL queries (T1213.006).

NVD Description

A vulnerability, which was classified as critical, was found in SourceCodester Online Eyewear Shop 1.0. Affected is an unknown function of the file /classes/Users.php?f=delete. The manipulation of the argument ID leads to sql injection. It is possible to launch the…

more

attack remotely. The exploit has been disclosed to the public and may be used.

Deeper analysisAI

CVE-2025-3018 is a critical SQL injection vulnerability (CWE-74, CWE-89) in SourceCodester Online Eyewear Shop 1.0. The flaw resides in an unknown function within the file /classes/Users.php?f=delete, where manipulation of the ID argument triggers the injection.

The vulnerability is exploitable remotely over the network with low attack complexity and requires low privileges (PR:L) but no user interaction (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, score 6.3). An authenticated attacker with basic access can leverage it to achieve limited impacts on confidentiality, integrity, and availability, such as partial data exposure, modification, or disruption.

VulDB advisories (ctiid.302070, id.302070, submit.524623) document the issue, and a public exploit is available on GitHub at csemfl/cve/blob/main/sql.md. The vendor's site is sourcecodester.com, but no patches or specific mitigations are detailed in the provided references.

Details

CWE(s)

Affected Products

oretnom23
online eyewear shop
1.0

CVEs Like This One

CVE-2025-2846Same product: Oretnom23 Online Eyewear Shop
CVE-2025-0173Same product: Oretnom23 Online Eyewear Shop
CVE-2026-3752Same vendor: Oretnom23
CVE-2025-2387Same vendor: Oretnom23
CVE-2026-3751Same vendor: Oretnom23
CVE-2025-2655Same vendor: Oretnom23
CVE-2025-2654Same vendor: Oretnom23
CVE-2026-2848Same vendor: Oretnom23
CVE-2026-26708Same vendor: Oretnom23
CVE-2026-3746Same vendor: Oretnom23

References