Cyber Posture

CVE-2025-2051

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-2051 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 2 other techniques. 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 the 'searchdata' input parameter in /search-visitor.php against expected formats and syntax.

prevent

Requires identification, reporting, and correction of the specific SQL injection flaw in the Apartment Visitors Management System.

prevent

Enforces restrictions on the 'searchdata' argument such as allowable characters and length to block 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.
T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
Why these techniques?

SQL injection in /search-visitor.php enables exploitation of a public-facing web application (T1190), abuse of server software components (T1505 per advisory), and arbitrary data collection from databases (T1213.006).

NVD Description

A vulnerability has been found in PHPGurukul Apartment Visitors Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file /search-visitor.php. The manipulation of the argument searchdata leads to sql injection. The attack can be initiated…

more

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

Deeper analysisAI

CVE-2025-2051 is a critical SQL injection vulnerability affecting PHPGurukul Apartment Visitors Management System version 1.0. The flaw exists in unknown code within the file /search-visitor.php, where manipulation of the 'searchdata' argument enables SQL injection. Published on 2025-03-07, it is associated with CWEs-74 and CWE-89, and 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).

A remote attacker with low privileges can exploit this vulnerability due to its network accessibility, low complexity, and lack of required user interaction. Successful exploitation allows limited impacts on confidentiality, integrity, and availability, potentially enabling unauthorized data access, modification, or disruption via injected SQL payloads.

Advisories and further details are available via VulDB entries (https://vuldb.com/?ctiid.298804, https://vuldb.com/?id.298804, https://vuldb.com/?submit.514191), a GitHub issue (https://github.com/guttlefish/vul/issues/9), and the vendor site (https://phpgurukul.com/). The exploit has been publicly disclosed and may be used.

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-2472Same product: Phpgurukul Apartment Visitors Management System
CVE-2025-2052Same product: Phpgurukul Apartment Visitors Management System
CVE-2025-2379Same product: Phpgurukul Apartment Visitors Management System
CVE-2025-2646Same vendor: Phpgurukul
CVE-2025-7491Same vendor: Phpgurukul
CVE-2025-2471Same vendor: Phpgurukul
CVE-2025-2642Same vendor: Phpgurukul
CVE-2025-2734Same vendor: Phpgurukul

References