Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid application credentials
-
DeliveryAuthenticate to BloodBank application
-
ExploitNavigate to state query feature or intercept get_state.php request
-
ExecutionInject SQL payload in G_STATE_ID parameter
-
PersistExecute arbitrary SQL query
-
ImpactExtract sensitive data 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 | Authentication is required - attacker must possess valid login credentials with at least low privilege level in the BloodBank Managing System application. The G_STATE_ID parameter must be exposed in a user-facing feature (form, API endpoint, or query parameter) that calls get_state.php. No special database configuration or non-default application settings are mentioned; the vulnerability exists in default deployments provided the attacker has legitimate access. The SQL injection is not blind or time-based based on available evidence; direct error-based or UNION-based techniques likely apply. Exploitation is limited to authenticated users; remote unauthenticated attackers cannot trigger the vulnerability without valid credentials. |
| Impact | The CVSS 4.0 score of 2.1 appears inconsistent with the actual exploitability signals: the vector shows PR:L (low privilege required), yet this combined with AV:N, AC:L, and E:P indicates practical attack feasibility from authenticated users. The low impact scores (VC:L, VI:L, VA:L) constrain the score despite SQL injection typically enabling data theft; this suggests CVSS 4.0 scoring reflects limited scope (scope not elevated per S:X) rather than true risk. The presence of publicly available exploit code (E:P) and disclosure via VulDB elevates real-world risk beyond the raw score. For healthcare systems managing blood bank operations and patient data, even low-impact SQL injection poses regulatory (HIPAA) and operational risk. The critical limiting factor is the PR:L requirement - unauthenticated exploitation is not possible - which significantly reduces attack surface in properly secured deployments. However, if the application grants low-privilege access to many users (e.g., donation centers, administrative staff), the effective risk increases substantially. The absence of active exploitation data in CISA KEV suggests limited widespread weaponization at time of analysis, but the public POC enables rapid adoption by threat actors. |
| Exploit ScenarioDerived | An authenticated user with low privilege (e.g., donation center staff member) accesses the BloodBank application and submits a crafted SQL injection payload in the G_STATE_ID parameter when querying state information (e.g., via a form field or API endpoint calling get_state.php). The injected SQL executes within the database context, allowing the attacker to extract patient records, blood type information, or donation histories. The public exploit code on GitHub documents the exact payload syntax, enabling rapid exploitation without reverse engineering. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 04, 2026
SQL injection in code-projects BloodBank Managing System 1.0 allows authenticated remote attackers to execute arbitrary SQL queries via the G_STATE_ID parameter in get_state.php, potentially exfiltrating sensitive patient or blood bank data. The vulnerability has low confidentiality and integrity impact but carries exploitability risk (E:P in CVSS 4.0) and publicly available exploit code, making it a practical concern for deployed instances despite the low CVSS score of 2.1.
RemediationAI
No vendor-released patch identified at time of analysis. Immediate remediation requires code-level fixes: replace all dynamic SQL construction in get_state.php with parameterized prepared statements (using bound parameters rather than string concatenation). Apply input validation and whitelist acceptable values for G_STATE_ID (e.g., numeric IDs only, validated against database schema). As a compensating control pending code fix, restrict network access to get_state.php and the entire BloodBank application to trusted internal networks only and disable direct internet exposure; implement database-level access controls restricting the application database user to minimum required permissions (avoid full DML rights). Additionally, enable SQL query logging and intrusion detection for suspicious SQL patterns. Monitor code-projects.org for security updates, or consider migrating to a modern, actively-maintained blood bank management system. Contact code-projects directly to report the vulnerability and request a patched version.
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 vulnerability exists in the get_state.php file where user-supplied input from the G_STATE_ID parameter is passed directly into SQL queries without proper sanitization or parameterized statement use. This is a classic CWE-89 SQL injection flaw common in legacy PHP applications. The CPE indicates all versions of code-projects BloodBank Managing System are affected (version wildcard). The attack vector is network-based (AV:N) and does not require elevated privileges (PR:L indicates low privilege authenticated access suffices), suggesting the application may be internet-facing or accessible to low-privilege users within a healthcare network.
Know when Bloodbank Managing 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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A security vulnerability has been detected in code-projects BloodBank Managing System 1.0. The affected element is an unknown function of the file get_state.php. The manipulation of the argument G_STATE_ID leads to sql injection. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may 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-26908
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB