Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege account credentials
-
DeliveryAuthenticate to web application
-
ExploitSend crafted HTTP request to /apartment-visitor/report.php
-
ExecutionInject SQL payload via fromdate parameter
-
PersistDatabase executes malicious query
-
ImpactExfiltrate or manipulate visitor records
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 | Exploitation requires a valid low-privilege user account on the Apartment Visitor Management System - the CVSS 4.0 PR:L metric confirms authentication is a prerequisite; unauthenticated exploitation is not supported by the available vector. The vulnerable endpoint |
| Impact | The CVSS 4.0 score of 5.3 with vector AV:N/AC:L/AT:N/PR:L/UI:N reflects a moderate-severity, network-reachable SQLi requiring low-privilege authentication - meaningfully limiting the attack surface compared to unauthenticated flaws. The impact metrics VC:L/VI:L/VA:L indicate partial confidentiality, integrity, and availability degradation, consistent with a SQLi that can read and manipulate specific database records but likely does not yield full system compromise. The E:P (proof-of-concept exploit exists) maturity flag elevates practical risk above a theoretical baseline, as opportunistic attackers can weaponize published PoC with minimal effort. The absence from CISA KEV and no EPSS data in the provided intelligence suggests exploitation has not yet reached widespread, indiscriminate levels. The primary real-world risk is concentrated in organizations running this specific CodeAstro product with internet-exposed report endpoints - the niche nature of the product substantially limits the aggregate threat surface. |
| Exploit ScenarioDerived | An attacker with a low-privilege account on the Apartment Visitor Management System navigates to the |
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 exposes backend database contents to authenticated low-privileged remote attackers via the unsanitized fromdate parameter in /apartment-visitor/report.php. The CVSS 4.0 vector confirms network-accessible exploitation requiring only low-privilege credentials. Publicly available exploit code has been published on GitHub (github.com/lilukun337/cve/issues/7), though no active exploitation has been confirmed by CISA KEV. The injection enables read and limited write access to the underlying database, with a moderate combined impact score of 5.3.
RemediationAI
No vendor-released patch or fix version has been identified at time of analysis; no advisory was found on the CodeAstro website (codeastro.com). Operators should apply the following compensating controls until an official fix is available. First, implement server-side input validation and enforce strict whitelisting of date formats for the fromdate parameter (e.g., YYYY-MM-DD only), rejecting any input containing SQL metacharacters - this directly addresses the injection vector with minimal functionality impact. Second, refactor the affected query in /apartment-visitor/report.php to use PHP PDO prepared statements with bound parameters, eliminating the root-cause vulnerability entirely. Third, deploy a web application firewall (WAF) rule to detect and block SQLi patterns on the /apartment-visitor/report.php endpoint; note that WAF rules can be bypassed by sophisticated attackers and are a defense-in-depth measure, not a permanent fix. Fourth, restrict access to the report endpoint to trusted IP ranges or require elevated authentication, reducing exposure to authenticated low-privileged accounts. Reference: https://vuldb.com/vuln/376390.
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
The affected component is a PHP-based web application (CodeAstro Apartment Visitor Management System 1.0) identified by CPE cpe:2.3:a:codeastro:apartment_visitor_management_system:*:*:*:*:*:*:*:*. The wildcard version field in the CPE string suggests all known releases may be affected. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), a classic unsanitized input condition where the fromdate parameter passed to /apartment-visitor/report.php is concatenated directly into an SQL query without parameterization or escaping. This is a well-understood vulnerability class in PHP applications that fail to use prepared statements or PDO with bound parameters.
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
PR:L reflects mandatory low-privilege authentication; S:U and low C/I/A match SQLi bounded to partial database read/write with no lateral scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in CodeAstro Apartment Visitor Management System 1.0. This affects an unknown part of the file /apartment-visitor/report.php. Performing a manipulation of the argument fromdate results in sql injection. It is possible to initiate the attack remotely. The exploit has been made public and could 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.
Related Vulnerabilities in CodeAstro Apartment Visitor Management System SQL Injection
View all 2Apartment 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 the `/apartment-visitor/search-result.php` en
SQL injection in CodeAstro Apartment Visitor Management System 1.0 allows authenticated remote attackers to manipulate b
SQL injection in CodeAstro Apartment Visitor Management System 1.0 exposes the application's database to remote authenti
EUVD-2026-41807
GHSA-9pjx-8rrh-66hg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB