Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed login page via web scan
-
ExploitSubmit crafted SQL payload in Username field
-
ExecutionBypass authentication or extract database schema
-
ImpactRetrieve credentials or patient/bed records from database
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 | No special conditions are required - the Login Form is a pre-authentication endpoint reachable by any remote attacker with HTTP/HTTPS access to the application (confirmed by PR:N/UI:N in the CVSS 4.0 vector). The web application must be running and network-accessible. No specific OS, database version, or non-default configuration is required; the vulnerability exists in the default installation. Exploitation is naturally limited to environments actually deploying Hospital Bed Management System 1.0 from code-projects, which has a small real-world footprint. Impact is further limited by database account permissions - if the application's DB user has restricted privileges, SQLi impact may be confined to the application's own schema rather than the full database server. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L) presents a worst-case accessibility profile: remote, unauthenticated, low complexity, no prerequisites, no user interaction. The E:P supplemental modifier confirms a public exploit exists, removing any obscurity protection. Impact metrics are capped at Low across VC/VI/VA with no subsequent-system impact (SC:N/SI:N/SA:N), suggesting partial database access rather than full server compromise - consistent with login-form blind SQLi that may retrieve credentials or bypass authentication rather than achieving OS-level execution. The product is not in CISA KEV, and no EPSS score was provided in the input. The primary risk limiter is prevalence: this is niche educational/demo software with minimal production enterprise deployment, meaning the real-world exposed population is small despite the trivially exploitable nature of the flaw. For organizations actually running this software, however, the risk is immediately actionable. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP POST request to the Login Form endpoint, injecting a SQL payload (e.g., a classic OR-based bypass or UNION-based extraction string) into the Username field, either bypassing authentication entirely or dumping database contents including credentials and patient records. A public POC is available on Gitee (https://gitee.com/Ajkss/cve/issues/IJU5GU), meaning script-level exploitation is accessible to low-skill attackers. If the database account has write privileges, the attacker may also modify or delete bed allocation records. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
SQL injection in the Login Form of code-projects Hospital Bed Management System 1.0 exposes unauthenticated remote attackers to database manipulation via the Username parameter. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms trivial, unauthenticated network exploitation with no user interaction, and the E:P modifier reflects a publicly available proof-of-concept on Gitee. While not listed in CISA KEV, the low barrier to exploitation combined with a public POC elevates practical urgency for any organization running this software, despite the product's niche footprint.
RemediationAI
No vendor-released patch has been identified at time of analysis. The definitive fix is to refactor the Login Form's Username parameter handling to use parameterized queries or prepared statements, eliminating SQL string concatenation entirely - this resolves CWE-89 at the root. As an immediate compensating control, restrict web application access to trusted internal IP ranges or place the application behind a VPN, reducing the unauthenticated attack surface described by the AV:N vector; trade-off is reduced operational accessibility. A Web Application Firewall (WAF) rule blocking common SQL injection patterns (single quotes, UNION SELECT, inline comments) provides partial short-term mitigation but is bypassable via encoding or obfuscation and should not be treated as a permanent fix. Input validation rejecting non-alphanumeric characters in the Username field offers a secondary layer but is not a substitute for parameterized queries. Refer to the VulDB advisory at https://vuldb.com/vuln/379756 and the public POC at https://gitee.com/Ajkss/cve/issues/IJU5GU for technical reproduction details.
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
CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) identifies the root cause as unsanitized user-supplied input being concatenated directly into backend SQL queries rather than handled via parameterized statements or prepared queries. The affected component is the Login Form's Username field - a pre-authentication entry point, making this particularly severe as no credentials are needed to reach the vulnerable code path. The product is identified via CPE cpe:2.3:a:code-projects:hospital_bed_management_system:*:*:*:*:*:*:*:* (wildcard version), indicating all available releases of this PHP-based web application from code-projects.org are affected. The healthcare context of the application means the underlying database may contain sensitive patient and operational data.
Know when Hospital Bed 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:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Pre-authentication network login-form SQLi with no user interaction; limited C/I/A impact consistent with partial database access, no scope change to other systems.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in code-projects Hospital Bed Management System 1.0. This affects an unknown part of the component Login Form. Performing a manipulation of the argument Username results in sql injection. Remote exploitation of the attack is possible. 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.
EUVD-2026-45167
GHSA-cq83-c7ww-m93g
NVD
CVE.org
EPSS
VulDB
Exploit-DB