Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege application credentials
-
DeliveryAuthenticate to visitor management portal
-
ExploitSubmit crafted visname payload to /apartment-visitor/visitor-entry.php
-
ExecutionSQL query executes injected statement
-
ImpactExtract or manipulate database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must possess a valid low-privilege account on the CodeAstro Apartment Visitor Management System (PR:L per CVSS 4.0 vector), ruling out unauthenticated exploitation. The vulnerable code path is specifically the /apartment-visitor/visitor-entry.php endpoint, so the application must be network-accessible and that endpoint must be reachable. No special non-default configuration is required - the flaw exists in the default processing of the visname parameter. Exploitation is limited by the authentication prerequisite: without credentials, the attack surface is not reachable. The impact is further constrained to the vulnerable system's database (SC:N), meaning no lateral movement to other systems is implied by the vulnerability mechanism itself. |
| Impact | The CVSS 4.0 base score of 5.3 (Medium) with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N indicates a network-accessible, low-complexity attack requiring low privileges (authenticated), with limited and contained impact. The PR:L metric is a meaningful limiting factor - an attacker must first obtain a valid account before exploiting the injection. Impact is bounded: partial confidentiality (database enumeration), partial integrity (potential data manipulation), and partial availability - no scope change to subsequent systems is indicated (SC:N/SI:N/SA:N). The E:P supplemental metric confirms a publicly available POC, which meaningfully elevates practical risk relative to the base score alone. No KEV listing means active exploitation is not confirmed by CISA. EPSS data is not provided in the input; risk should be considered moderate given the low-privilege prerequisite and niche product footprint. This is a real but narrow-scope issue: dangerous within the application's database context but not a systemic infrastructure threat. |
| Exploit ScenarioDerived | An attacker with a low-privilege account on the Apartment Visitor Management System navigates to the visitor entry form and submits a crafted value in the visname field containing SQL metacharacters (e.g., a UNION-based or error-based injection payload). The unsanitized parameter is interpolated directly into a database query, allowing the attacker to enumerate table names, extract credential hashes, or modify visitor records. A publicly available proof-of-concept on GitHub (https://github.com/lilukun337/cve/issues/10) demonstrates the technique, reducing the expertise required to exploit this flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
SQL injection in CodeAstro Apartment Visitor Management System 1.0 allows authenticated remote attackers to manipulate backend database queries via the visname parameter in /apartment-visitor/visitor-entry.php. The flaw, classified as CWE-89, yields partial confidentiality, integrity, and availability impact against the vulnerable system. A publicly available proof-of-concept exploit exists on GitHub, lowering the skill bar for exploitation, though no confirmed active exploitation (CISA KEV) has been recorded at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - the CPE wildcard and absence of a vendor advisory with a fixed version confirm this. The primary remediation is to replace any raw SQL string concatenation in visitor-entry.php with parameterized queries using PHP PDO prepared statements or MySQLi prepared statements, which fully neutralizes CWE-89. As a compensating control, deploying a Web Application Firewall (WAF) with SQLi ruleset (e.g., ModSecurity with OWASP CRS) can detect and block common injection payloads with trade-off of potential false positives on legitimate input. Input validation on the visname parameter (allowlisting expected character sets such as alphanumeric plus limited punctuation) can reduce the attack surface but is not a complete fix - application-layer sanitization alone is insufficient as a primary control. Restrict database user privileges to least-privilege for the application account to limit what an attacker can extract or modify post-exploitation. Monitor VulDB at https://vuldb.com/vuln/376392 and the vendor site https://codeastro.com/ for patch releases.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CodeAstro Apartment Visitor Management System is a PHP-based web application for tracking building visitors, identified via CPE cpe:2.3:a:codeastro:apartment_visitor_management_system:*:*:*:*:*:*:*:*. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), meaning user-supplied input from the visname POST or GET parameter is concatenated directly into a SQL query without parameterization or adequate sanitization. The affected endpoint is /apartment-visitor/visitor-entry.php, which processes visitor registration or lookup. This class of flaw in PHP applications typically arises from use of deprecated mysql_query() calls or raw PDO/MySQLi without prepared statements, enabling classic in-band or error-based SQL injection techniques.
Know when Apartment Visitor Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible SQLi with low-privilege auth requirement; impact is limited and contained to the vulnerable system with no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was identified in CodeAstro Apartment Visitor Management System 1.0. This issue affects some unknown processing of the file /apartment-visitor/visitor-entry.php. The manipulation of the argument visname leads to sql injection. The attack can be initiated remotely. The exploit is publicly available and might be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Apartment Visitor Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid paramete
A vulnerability was found in SourceCodester Apartment Visitor Management System 1.0. Rated medium severity (CVSS 6.9), t
A vulnerability was found in SourceCodester Apartment Visitor Management System 1.0 and classified as critical. Rated me
SQL injection in CodeAstro Apartment Visitor Management System 1.0 allows remote unauthenticated attackers to manipulate
SQL injection in CodeAstro Apartment Visitor Management System 1.0 exposes the unauthenticated password-reset endpoint (
SQL injection in CodeAstro Apartment Visitor Management System 1.0 exposes the login endpoint at /index.php to unauthent
A vulnerability, which was classified as critical, was found in oretnom23/SourceCodester Apartment Visitor Management Sy
A vulnerability was found in SourceCodester Apartment Visitor Management System 1.0. Rated medium severity (CVSS 5.3), t
SQL injection in CodeAstro Apartment Visitor Management System 1.0 exposes backend database contents to authenticated lo
SQL injection in CodeAstro Apartment Visitor Management System 1.0 exposes the `/apartment-visitor/search-result.php` en
SQL injection in CodeAstro Apartment Visitor Management System 1.0 exposes the application's database to remote authenti
SQL injection in CodeAstro Apartment Visitor Management System 1.0 allows authenticated remote attackers to manipulate d
EUVD-2026-41809
GHSA-gvmh-j88v-pwfv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB