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.6th percentile
Risk Priority 13 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-2052 is a medium-severity Injection (CWE-74) vulnerability in Phpgurukul Apartment Visitors Management System. 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 18.6th 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 3 other techniques. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

SI-10 directly prevents SQL injection by requiring validation of untrusted inputs like the 'contactno' argument in /forgot-password.php to neutralize special elements.

prevent

SI-2 ensures timely remediation of the specific SQL injection flaw in PHPGurukul Apartment Visitors Management System 1.0 via patching or code fixes.

prevent

SI-9 restricts inputs to valid formats for 'contactno', such as numeric digits only, blocking SQL injection payloads.

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.
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).

NVD Description

A vulnerability was found in PHPGurukul Apartment Visitors Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /forgot-password.php. The manipulation of the argument contactno leads to sql injection. The attack may be initiated…

more

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

Deeper analysisAI

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)

Affected Products

phpgurukul
apartment visitors management system
1.0

CVEs Like This One

CVE-2025-2053Same product: Phpgurukul Apartment Visitors Management System
CVE-2025-2380Same product: Phpgurukul Apartment Visitors Management System
CVE-2025-2051Same product: Phpgurukul Apartment Visitors Management System
CVE-2025-2472Same product: Phpgurukul Apartment Visitors Management System
CVE-2025-2379Same product: Phpgurukul Apartment Visitors Management System
CVE-2025-2646Same vendor: Phpgurukul
CVE-2025-1952Same vendor: Phpgurukul
CVE-2025-1954Same vendor: Phpgurukul
CVE-2025-7491Same vendor: Phpgurukul
CVE-2025-2471Same vendor: Phpgurukul

References