Cyber Posture

CVE-2025-0842

HighPublic PoC

Published: 29 January 2025

Published
29 January 2025
Modified
25 February 2025
KEV Added
Patch
CVSS Score 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0018 39.4th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-0842 is a high-severity Injection (CWE-74) vulnerability in Needyamin Library Card System. Its CVSS base score is 7.3 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 39.4th 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). What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly mitigates SQL injection by requiring validation of user inputs such as email and password before they are processed in database queries within the admin.php login component.

prevent

Requires identification, reporting, and correction of the specific SQL injection flaw in the Library Card System, preventing exploitation once remediated.

detect

Enables vulnerability scanning to identify the SQL injection vulnerability in admin.php, facilitating timely detection and patching of the publicly disclosed exploit.

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.
Why these techniques?

SQL injection in public-facing web login component directly enables remote unauthenticated exploitation of the application for admin access bypass.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD Description

A vulnerability was found in needyamin Library Card System 1.0 and classified as critical. This issue affects some unknown processing of the file admin.php of the component Login. The manipulation of the argument email/password leads to sql injection. The attack…

more

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

Deeper analysisAI

CVE-2025-0842 is a critical SQL injection vulnerability (CWE-74, CWE-89) in needyamin Library Card System 1.0. The issue resides in the unknown processing of the admin.php file within the Login component, where manipulation of the email and password arguments triggers the injection.

Attackers can exploit this remotely without authentication or user interaction, requiring only low attack complexity, as reflected in the CVSS v3.1 base score of 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L). Successful exploitation enables limited impacts on confidentiality, integrity, and availability.

VulDB advisories (vuldb.com/?ctiid.293999, vuldb.com/?id.293999, vuldb.com/?submit.485540) document the vulnerability, and a proof-of-concept demonstrating admin login bypass is available at websecurityinsights.my.id/2025/01/library-card-system-admin-login-bypass.html. The exploit has been publicly disclosed and may be used; no patches are referenced in the provided details.

The vulnerability was published on 2025-01-29, with the exploit already public.

Details

CWE(s)

Affected Products

needyamin
library card system
1.0

CVEs Like This One

CVE-2025-1356Same product: Needyamin Library Card System
CVE-2025-0843Same product: Needyamin Library Card System
CVE-2025-1355Same product: Needyamin Library Card System
CVE-2026-4844Shared CWE-74, CWE-89
CVE-2025-0698Shared CWE-74, CWE-89
CVE-2026-3790Shared CWE-74, CWE-89
CVE-2026-5813Shared CWE-74, CWE-89
CVE-2026-3406Shared CWE-74, CWE-89
CVE-2026-3151Shared CWE-74, CWE-89
CVE-2025-1809Shared CWE-74, CWE-89

References