CVE-2026-7731

code-projects BloodBank Managing System get_state.php sql injection

Published May 4, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability manifests as an SQL injection in the get_state.php handler due to unsanitized G_STATE_ID parameter. An attacker can use crafted input to alter query logic, potentially extracting, modifying, or deleting database contents. This weakness corresponds to CWE-74 and CWE-89 and could compromise the confidentiality and integrity of the blood bank database.

Affected Systems

Affected product is BloodBank Managing System version 1.0 from code‑projects, including the get_state.php script. The vulnerability exists in an unnamed function that processes the G_STATE_ID request argument. Users running the 1.0 release are exposed; no other versions have been disclosed.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate threat severity, while the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. However, a publicly disclosed exploit demonstrates that remote attackers can trigger the injection simply by sending a specially crafted HTTP request containing a malicious G_STATE_ID value to the vulnerable endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest vendor‑released patch that removes the unsanitized query handling in get_state.php. If a patch is not yet available, upgrade to a newer version of BloodBank Managing System.
  • As a temporary workaround, restrict external access to get_state.php by firewall rules or IP whitelisting until the patch is applied.
  • Modify the application code to use parameterized SQL statements and validate or sanitize the G_STATE_ID input to prevent injection attacks.
  • Deploy a web application firewall configured to block SQL injection payloads targeting the get_state.php endpoint.

Generated by OpenCVE AI on May 4, 2026 at 06:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Code-projects
Code-projects blood Bank Management System
Vendors & Products Code-projects
Code-projects blood Bank Management System
Type Values Removed Values Added
Description 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.
Title code-projects BloodBank Managing System get_state.php sql injection
Weaknesses CWE-74
CWE-89
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
May 5, 2026, 12:56 AM
Reserved
May 3, 2026, 4:08 PM
Status
Deferred
Published
May 4, 2026, 6:16 AM
Modified
Oct 26, 2026, 7:10 PM