Cyber Posture

CVE-2025-2052

MediumPublic PoC

Published: 07 March 2025

Published
07 March 2025
Modified
08 May 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.0006 18.5th percentile
Risk Priority 13 60% EPSS · 20% KEV · 20% CVSS

Description

Adversaries may leverage databases to mine valuable information.

Security Summary

CVE-2025-2052 is a critical SQL injection vulnerability in PHPGurukul Apartment Visitors Management System 1.0, affecting the processing of the /forgot-password.php file. The issue arises from improper handling of the 'contactno' argument, enabling SQL injection as classified under CWE-74 (Improper Neutralization of Special Elements used in an SQL Command) and CWE-89 (SQL Injection). It carries 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) and was published on 2025-03-07.

The vulnerability can be exploited remotely by attackers with low privileges, such as authenticated users, requiring low attack complexity and no user interaction. Successful exploitation allows limited impacts on confidentiality, integrity, and availability through SQL injection, potentially enabling data exfiltration, modification, or disruption within the application's database.

Advisories and references, including a GitHub issue at https://github.com/guttlefish/vul/issues/10, VulDB entries at https://vuldb.com/?ctiid.298805, https://vuldb.com/?id.298805, and https://vuldb.com/?submit.514218, and the vendor site at https://phpgurukul.com/, document the issue. The exploit has been publicly disclosed and may be used.

In notable context, the public availability of the exploit increases the risk of real-world attacks against unpatched instances of this management system.

Details

CWE(s)
CWE-74CWE-89

Affected Products

phpgurukul
apartment visitors management system
1.0

MITRE ATT&CK Enterprise Techniques

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.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
Why these techniques?

SQL injection in /forgot-password.php enables exploitation of public-facing web applications (T1190), abuse of server software components (T1505 as noted in advisory), exploitation specifically for credential access via database dumps (T1212), and collection from databases (T1213.006).

References