Cyber Resilience

CVE-2025-2038

Info Disclosure in Code-Projects Blood Bank Management System 1.0

Public PoCInfo Disclosure
Published
06 March 2025
Modified
13 May 2025
Patch / advisory
CVSS Score v4 6.9
Click a component to see what it means
Raw vectorCVSS: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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0062 46th percentile
Risk Priority 42 floored blend · peak EPSS

Summary

CVE-2025-2038 is a medium-severity Exposure of Information Through Directory Listing (CWE-548) vulnerability in Code-Projects Blood Bank Management System. Its CVSS base score is 6.9 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Local System (T1005); ranked at the 46th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-2038 is a critical vulnerability in code-projects Blood Bank Management System 1.0, affecting unknown processing of the /upload/ file or endpoint. It enables exposure of information through directory listing, mapped to CWE-548 (Files or Directories Accessible to External Parties) and CWE-552 (Files or Directories Accessible to External Parties). The issue carries a CVSS v3.1 base score of 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L) and was published on 2025-03-06.

The vulnerability can be exploited remotely by unauthenticated attackers with no privileges required and low complexity, requiring no user interaction. Exploitation involves manipulating the /upload/ endpoint to trigger directory listing, resulting in information disclosure with low impacts on confidentiality, integrity, and availability.

Advisories referenced on VulDB (ctiid.298781, id.298781, submit.512558) document the issue, while a GitHub repository (intercpt/XSS1/blob/main/Directorylisting.md) discloses the exploit publicly, noting it may be used by attackers. The project site at code-projects.org provides context on the affected software, but no specific patches or mitigations are detailed in available references.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

A vulnerability was found in code-projects Blood Bank Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /upload/. The manipulation leads to exposure of information through directory listing. The attack may…

more

be initiated remotely. The exploit has been disclosed to the public and may be used.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1039 Data from Network Shared Drive Collection
Adversaries may search network shares on computers they have compromised to find files of interest.
T1083 File and Directory Discovery Discovery
Adversaries may enumerate files and directories or may search in specific locations of a host or network share for certain information within a file system.
T1119 Automated Collection Collection
Once established within a system or network, an adversary may use automated techniques for collecting internal data.
T1530 Data from Cloud Storage Collection
Adversaries may access data from cloud storage.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-9040Same product: Code-Projects Blood Bank Management System
CVE-2025-3306Same product: Code-Projects Blood Bank Management System
CVE-2025-2390Same product: Code-Projects Blood Bank Management System
CVE-2025-2039Same product: Code-Projects Blood Bank Management System
CVE-2025-3307Same product: Code-Projects Blood Bank Management System
CVE-2025-2033Same product: Code-Projects Blood Bank Management System
CVE-2025-2037Same product: Code-Projects Blood Bank Management System
CVE-2024-9035Same product: Code-Projects Blood Bank Management System
CVE-2025-2044Same product: Code-Projects Blood Bank Management System
CVE-2025-2054Same product: Code-Projects Blood Bank Management System

Affected Assets

code-projects
blood bank management system
1.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V8.4.2

Mitigating Controls (NIST 800-53 r5) AI

AC-3 directly enforces authorization checks on access to files and directories, stopping unauthorized external exposure.

AC-6 limits granted privileges, reducing the chance that files or directories become reachable by external parties.

Requires secure baseline settings that disable directory listing on servers and file shares.

Restricts unnecessary server features such as automatic directory indexing.

Controls information flows so directory contents are not disclosed to unauthorized recipients.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 mostly match
prevents

Enforcing least-privilege permissions and authorization policies directly prevents unauthorized file/directory exposure.

PR.IR-01 mostly match
prevents

Logical segmentation and access protections stop external parties from reaching files that should remain internal.

PR.PS-01 mostly match
prevents

Hardened baselines and config management directly disable directory listing by default.

ID.AM-08 partial match
prevents

Lifecycle management includes applying secure configurations that would prevent directory exposure.

ID.RA-01 partial match
prevents

Vulnerability scanning can discover exposed directories so they can be remediated.

PR.DS-01 partial match
prevents

Data-at-rest protections such as encryption or ACLs reduce the impact of unintended file exposure.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Information access restriction directly prevents directory listings by enforcing need-to-know access controls on web resources.

finds

Security testing in development and acceptance can detect and require remediation of exposed directory listings.

mitigates

By tracing and retrieving all copies of information stored on endpoint and portable devices, the control reduces the likelihood that files remain accessible outside the organization’s security perimeter.

mitigates

Labeling information according to its sensitivity and specifying corresponding protection measures makes it less probable that files or directories containing sensitive content will be left accessible to external parties.

mitigates

Including asset location and ownership in the inventory, combined with secure disposal procedures, decreases the chance that files or directories remain accessible to external parties after they should have been removed or restricted.

mitigates

Solid perimeters and locked external access points stop files, devices, or directories containing sensitive data from being reachable by external parties who could otherwise walk in or break in.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 8 (2 rules)
  • V-248579 OL 8 must restrict access to the kernel message buffer. prevents CWE-552
  • V-248597 There must be no "shosts.equiv" files on the OL 8 operating system. prevents CWE-552

References