{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6127 exists.","fix":"No fix has been published for CVE-2024-6127 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6127 is a critical path traversal vulnerability in BC Security Empire, published on 27 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-6127 and fix it if it is affected.\n\nWhat it is: CVE-2024-6127 is a critical path traversal vulnerability in BC Security Empire, published on 27 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6127 exists.\n\nAffected product: BC Security Empire. 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-6127/ (Markdown: https://insights.sbomify.com/CVE-2024-6127/index.md)","id":"CVE-2024-6127","markdown":"https://insights.sbomify.com/CVE-2024-6127/index.md","name":"CVE-2024-6127","record":{"aliases":["GHSA-24r9-8wx9-6g9f"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"BC Security Empire","requires_auth":"none","summary":"Remote unauthenticated attackers can achieve code execution in BC Security Empire via path traversal during agent payload uploads.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"BC Security Empire before 5.9.3 is vulnerable to a path traversal issue that can lead to remote code execution. A remote, unauthenticated attacker can exploit this vulnerability over HTTP by acting as a normal agent, completing all cryptographic handshakes, and then triggering an upload of payload data containing a malicious path.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2016-10-15","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2016-10-15","kind":"metasploit","ref":"exploit/linux/http/empire_skywalker","stars":null,"title":"PowerShellEmpire Arbitrary File Upload (Skywalker)"}],"tier":"weaponised"},"has_fix":false,"headline":"BC Security Empire Path Traversal RCE","id":"CVE-2024-6127","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":4,"next":{"headline":"spa-cartcms Checkout Page checkout behavioral workflow","id":"CVE-2024-6128"},"packages":[],"prev":{"headline":"Cockpit: authenticated user can kill any process when enabling pam_env's user_readenv option","id":"CVE-2024-6126"},"products":["Empire"],"published":"2024-06-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["BC Security"]},"summary":"Remote unauthenticated attackers can achieve code execution in BC Security Empire via path traversal during agent payload uploads.","url":"https://insights.sbomify.com/CVE-2024-6127/"}