CVE-2025-3120 in Apartment Visitors Management Systeminfo

Summary

by MITRE • 04/03/2025

A vulnerability was found in SourceCodester Apartment Visitors Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /add-apartment.php. The manipulation of the argument apartmentno leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 07/12/2026

The SourceCodester Apartment Visitors Management System version 1.0 contains a critical SQL injection vulnerability that poses significant security risks to organizations using this software. This vulnerability exists within the /add-apartment.php file where user input is improperly handled, creating an attack vector that allows remote exploitation. The specific parameter vulnerable to manipulation is apartmentno which when exploited can lead to unauthorized database access and potential data breach scenarios. The nature of this vulnerability places it squarely within the scope of CWE-89 which defines SQL injection as a condition where untrusted input is incorporated into SQL queries without proper sanitization or validation mechanisms.

The remote exploitability of this vulnerability means that attackers can initiate malicious activities from external networks without requiring physical access to the system infrastructure. This characteristic significantly amplifies the potential impact as threat actors can target vulnerable installations from anywhere on the internet. The disclosure of exploit details to the public community further increases the risk profile, as malicious parties can readily implement attack vectors against unpatched systems. The vulnerability extends beyond just the apartmentno parameter, suggesting that other input fields within the same application may be susceptible to similar manipulation techniques, indicating a broader architectural weakness in input validation and sanitization processes.

The operational impact of this SQL injection vulnerability is severe and multifaceted, potentially enabling attackers to extract sensitive information including user credentials, personal visitor data, and system configuration details. Depending on database permissions, attackers might also gain the ability to modify or delete critical data within the apartment management system. The attack surface expands beyond simple data theft as database administrators could be compromised, leading to potential privilege escalation attacks that could allow full system control. Organizations relying on this system may face regulatory compliance violations and significant reputational damage if sensitive visitor information is exposed.

Mitigation strategies should include immediate implementation of parameterized queries and prepared statements to prevent SQL injection exploitation, along with comprehensive input validation and sanitization across all user-facing parameters. The system should be updated with the latest security patches from the vendor and input fields should undergo strict type checking and length validation. Network segmentation and firewall rules should be configured to limit access to administrative interfaces, while regular security audits should monitor for additional vulnerabilities within the application codebase. Organizations should consider implementing web application firewalls to detect and block malicious SQL injection attempts, and establish proper database access controls to minimize potential damage from successful exploitation attempts. The vulnerability aligns with ATT&CK technique T1190 which describes exploitation of remote services, and T1071.004 which covers application layer protocol manipulation through web services.

Responsible

VulDB

Disclosure

04/03/2025

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00510

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!