{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-9040 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-9040 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-9040 is a medium-severity vulnerability in code-projects Blood Bank Management System, published on 20 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-9040 and fix it if it is affected.\n\nWhat it is: CVE-2024-9040 is a medium-severity vulnerability in code-projects Blood Bank Management System, published on 20 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-9040 in the wild and no public exploit code.\n\nAffected product: code-projects Blood Bank Management System. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-9040/ (Markdown: https://insights.sbomify.com/CVE-2024-9040/index.md)","id":"CVE-2024-9040","markdown":"https://insights.sbomify.com/CVE-2024-9040/index.md","name":"CVE-2024-9040","record":{"aliases":["GHSA-pcj5-c4v2-hq4g"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Blood Bank Management System","requires_auth":"high_privilege","summary":"Attackers with local access can read passwords stored in cleartext on disk in the Blood Bank Management System.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"blood_bank_management_system","vendor":"code-projects"}],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"},{"id":"CWE-313","name":"Cleartext Storage in a File or on Disk"}],"description":"A vulnerability, which was classified as problematic, was found in code-projects Blood Bank Management System 1.0. This affects an unknown part of the component Password Handler. The manipulation leads to cleartext storage in a file or on disk. An attack has to be approached locally.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"code-projects Blood Bank Management System Password cleartext storage in a file or on disk","id":"CVE-2024-9040","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"hardcoded_credentials","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"SourceCodester Best House Rental Management System ajax.php sql injection","id":"CVE-2024-9041"},"packages":[],"prev":{"headline":"SourceCodester Best House Rental Management System ajax.php sql injection","id":"CVE-2024-9039"},"products":["Blood Bank Management System"],"published":"2024-09-20","related":[{"cvss_score":6.9,"headline":"code-projects Blood Bank Management System don.php sql injection","id":"CVE-2025-3306","kev_date_added":null,"published":"2025-04-06"},{"cvss_score":6.9,"headline":"code-projects Blood Bank Management System reset.php sql injection","id":"CVE-2025-3307","kev_date_added":null,"published":"2025-04-06"},{"cvss_score":6.9,"headline":"code-projects Blood Bank Management System upload exposure of information through directory listing","id":"CVE-2025-2038","kev_date_added":null,"published":"2025-03-06"},{"cvss_score":6.9,"headline":"code-projects Blood Bank Management System Admin Login login.php sql injection","id":"CVE-2024-9035","kev_date_added":null,"published":"2024-09-20"},{"cvss_score":5.3,"headline":"code-projects Blood Bank Management System add_donor.php sql injection","id":"CVE-2025-2390","kev_date_added":null,"published":"2025-03-17"},{"cvss_score":5.3,"headline":"code-projects Blood Bank Management System view_donor.php sql injection","id":"CVE-2025-2033","kev_date_added":null,"published":"2025-03-06"},{"cvss_score":5.3,"headline":"code-projects Blood Bank Management System delete_requester.php sql injection","id":"CVE-2025-2037","kev_date_added":null,"published":"2025-03-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-20","vendors":["code-projects"]},"summary":"Attackers with local access can read passwords stored in cleartext on disk in the Blood Bank Management System.","url":"https://insights.sbomify.com/CVE-2024-9040/"}