Cyber Posture

CVE-2025-25351

CriticalPublic PoC

Published: 12 February 2025

Published
12 February 2025
Modified
12 May 2025
KEV Added
Patch
CVSS Score 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0019 41.0th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-25351 is a critical-severity SQL Injection (CWE-89) vulnerability in Phpgurukul Daily Expense Tracker System. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 41.0th 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 validating and sanitizing user inputs like the dateexpense parameter before database queries.

prevent

Mandates timely identification, reporting, and remediation of flaws such as the SQL injection vulnerability in /dets/add-expense.php.

detect

Facilitates early detection of SQL injection vulnerabilities like CVE-2025-25351 through regular vulnerability scanning.

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 (/dets/add-expense.php) enables exploitation of public-facing applications (T1190) and facilitates collection of data from databases via arbitrary SQL queries (T1213.006).

NVD Description

PHPGurukul Daily Expense Tracker System v1.1 is vulnerable to SQL Injection in /dets/add-expense.php via the dateexpense parameter.

Deeper analysisAI

CVE-2025-25351 is a SQL injection vulnerability (CWE-89) in PHPGurukul Daily Expense Tracker System version 1.1. The flaw resides in the /dets/add-expense.php component, where the dateexpense parameter fails to properly sanitize user input, allowing malicious SQL payloads to be injected into backend database queries. Published on 2025-02-12, it carries a CVSS v3.1 base score of 9.8, reflecting its critical severity.

Remote, unauthenticated attackers can exploit this vulnerability over the network (AV:N) with low attack complexity (AC:L), requiring no privileges (PR:N) or user interaction (UI:N), and without changing the scope (S:U). Successful exploitation enables high-impact violations of confidentiality, integrity, and availability (C:H/I:H/A:H), potentially allowing attackers to extract sensitive data, modify records, or disrupt system operations.

A detailed writeup, including proof-of-concept details, is available at https://github.com/vkcyberexpert/CVE-Writeup/blob/main/PHPGurukul/Daily%20Expense%20Tracker%20System/SQL%20Injection%20dateexpense%20daily%20expense.pdf. No official patches or vendor advisories are referenced in available information.

Details

CWE(s)

Affected Products

phpgurukul
daily expense tracker system
1.1

CVEs Like This One

CVE-2025-25349Same product: Phpgurukul Daily Expense Tracker System
CVE-2024-55270Same vendor: Phpgurukul
CVE-2025-25389Same vendor: Phpgurukul
CVE-2025-25356Same vendor: Phpgurukul
CVE-2025-25355Same vendor: Phpgurukul
CVE-2025-56074Same vendor: Phpgurukul
CVE-2025-70892Same vendor: Phpgurukul
CVE-2025-2381Same vendor: Phpgurukul
CVE-2025-2658Same vendor: Phpgurukul
CVE-2025-2627Same vendor: Phpgurukul

References