{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-7384 exists.","fix":"No fix has been published for CVE-2020-7384 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-7384 is a high-severity command injection vulnerability in Rapid7 Metasploit, published on 29 Oct 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-7384 and fix it if it is affected.\n\nWhat it is: CVE-2020-7384 is a high-severity command injection vulnerability in Rapid7 Metasploit, published on 29 Oct 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-7384 exists.\n\nAffected product: Rapid7 Metasploit. 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-2020-7384/ (Markdown: https://insights.sbomify.com/CVE-2020-7384/index.md)","id":"CVE-2020-7384","markdown":"https://insights.sbomify.com/CVE-2020-7384/index.md","name":"CVE-2020-7384","record":{"aliases":["GHSA-87rr-mcfm-cqc8"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Metasploit Framework","requires_auth":"none","summary":"A malicious APK file processed by Metasploit's msfvenom can execute arbitrary commands on the victim's machine.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rapid7","cpe":[{"product":"metasploit","vendor":"rapid7"}],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Rapid7's Metasploit msfvenom framework handles APK files in a way that allows for a malicious user to craft and publish a file that would execute arbitrary commands on a victim's machine.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2020-10-29","github_poc":2,"max_poc_stars":11,"metasploit":1,"nuclei":0,"refs":[{"date":"2021-02-07T16:00:41Z","kind":"github_poc","ref":"https://github.com/nikhil1232/CVE-2020-7384","stars":11,"title":"CVE-2020-7384"},{"date":"2020-10-29","kind":"metasploit","ref":"exploit/unix/fileformat/metasploit_msfvenom_apk_template_cmd_injection","stars":null,"title":"Rapid7 Metasploit Framework msfvenom APK Template Command Injection"},{"date":"2021-01-28","kind":"exploitdb","ref":"49491","stars":null,"title":"Metasploit Framework 6.0.11 - msfvenom APK template command injection"},{"date":"2023-02-20T19:42:38Z","kind":"github_poc","ref":"https://github.com/CarsonShaffer/CVE-2020-7384","stars":0,"title":null}],"tier":"weaponised"},"has_fix":null,"headline":"Client-Side Command Injection in Rapid7 Metasploit","id":"CVE-2020-7384","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2020"},"n_packages":0,"n_references":3,"next":{"headline":"Metasploit Framework 'drb_remote_codeexec' code execution","id":"CVE-2020-7385"},"packages":[],"prev":{"headline":"SQL Injection in Rapid7 Nexpose","id":"CVE-2020-7383"},"products":["Metasploit"],"published":"2020-10-29","related":[{"cvss_score":8.1,"headline":"Metasploit Framework 'drb_remote_codeexec' code execution","id":"CVE-2020-7385","kev_date_added":null,"published":"2021-04-23"},{"cvss_score":8.1,"headline":"Rapid7 Metasploit Framework Relative Path Traversal in telpho10_credential_dump module","id":"CVE-2020-7377","kev_date_added":null,"published":"2020-08-24"},{"cvss_score":7.8,"headline":"Other in Metasploit Pro","id":"CVE-2017-5235","kev_date_added":null,"published":"2017-03-02"},{"cvss_score":7.5,"headline":"Rapid7 Metasploit HTTP Handler Denial of Service","id":"CVE-2019-5645","kev_date_added":null,"published":"2020-09-01"},{"cvss_score":7.4,"headline":"Rapid7 Metasploit Framework Zip Import Directory Traversal","id":"CVE-2019-5624","kev_date_added":null,"published":"2019-04-30"},{"cvss_score":7.1,"headline":"Rapid7 Metasploit Framework Relative Path Traversal in enum_osx module","id":"CVE-2020-7376","kev_date_added":null,"published":"2020-08-24"},{"cvss_score":7.1,"headline":"Path traversal in Metasploit","id":"CVE-2017-5228","kev_date_added":null,"published":"2017-03-02"}],"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Rapid7"]},"summary":"A malicious APK file processed by Metasploit's msfvenom can execute arbitrary commands on the victim's machine.","url":"https://insights.sbomify.com/CVE-2020-7384/"}