{"answers":{"affected":"It affects 11 products.","exploited":"Yes. Attackers have exploited CVE-2016-6277 in the wild since at least 7 Mar 2022.","fix":"No fix has been published for CVE-2016-6277 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 7 Sep 2022.","what":"CVE-2016-6277 is a high-severity command injection vulnerability in Netgear D6220 Firmware, published on 14 Dec 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2016-6277 and fix it if it is affected.\n\nWhat it is: CVE-2016-6277 is a high-severity command injection vulnerability in Netgear D6220 Firmware, published on 14 Dec 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2016-6277 in the wild since at least 7 Mar 2022.\n\nAffected product: Netgear D6220 Firmware. 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-2016-6277/ (Markdown: https://insights.sbomify.com/CVE-2016-6277/index.md)","id":"CVE-2016-6277","markdown":"https://insights.sbomify.com/CVE-2016-6277/index.md","name":"CVE-2016-6277","record":{"aliases":["GHSA-pxpc-qfm6-wwp4"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"NETGEAR router","requires_auth":"none","summary":"Remote attackers can execute arbitrary commands on NETGEAR routers via shell metacharacters in the path info to cgi-bin.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"d6220_firmware","vendor":"netgear"},{"product":"d6400_firmware","vendor":"netgear"},{"product":"r6250_firmware","vendor":"netgear"},{"product":"r6400_firmware","vendor":"netgear"},{"product":"r6700_firmware","vendor":"netgear"},{"product":"r6900_firmware","vendor":"netgear"},{"product":"r7000_firmware","vendor":"netgear"},{"product":"r7100lg_firmware","vendor":"netgear"},{"product":"r7300dst_firmware","vendor":"netgear"},{"product":"r7900_firmware","vendor":"netgear"},{"product":"r8000_firmware","vendor":"netgear"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"NETGEAR R6250 before 1.0.4.6.Beta, R6400 before 1.0.1.18.Beta, R6700 before 1.0.1.14.Beta, R6900, R7000 before 1.0.7.6.Beta, R7100LG before 1.0.0.28.Beta, R7300DST before 1.0.0.46.Beta, R7900 before 1.0.1.8.Beta, R8000 before 1.0.3.26.Beta, D6220, D6400, D7000, and possibly other routers allow remote attackers to execute arbitrary commands via shell metacharacters in the path info to cgi-bin/.","ecosystems":[],"exploits":{"exploitdb":3,"first_seen":"2016-12-06","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":1,"refs":[{"date":"2016-12-06","kind":"metasploit","ref":"exploit/linux/http/netgear_r7000_cgibin_exec","stars":null,"title":"Netgear R7000 and R6400 cgi-bin Command Injection"},{"date":"2016-12-07","kind":"exploitdb","ref":"40889","stars":null,"title":"Netgear R7000 - Command Injection"},{"date":"2017-03-13","kind":"exploitdb","ref":"41598","stars":null,"title":"Netgear R7000 / R6400 - 'cgi-bin' Command Injection (Metasploit)"},{"date":"2017-03-13","kind":"exploitdb","ref":"41598","stars":null,"title":"Netgear R7000 / R6400 - 'cgi-bin' Command Injection (Metasploit)"},{"date":null,"kind":"nuclei","ref":"http/cves/2016/CVE-2016-6277.yaml","stars":null,"title":"NETGEAR Routers - Remote Code Execution"}],"tier":"exploited"},"has_fix":null,"headline":"NETGEAR Multiple Routers Remote Code Execution","id":"CVE-2016-6277","indexable":true,"kev":{"dateAdded":"2022-03-07","dueDate":"2022-09-07","knownRansomwareCampaignUse":"Unknown","product":"Multiple Routers","requiredAction":"Apply updates per vendor instructions.","vendorProject":"NETGEAR","vulnerabilityName":"NETGEAR Multiple Routers Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"netgear:d6220_firmware","products":["netgear:d6220_firmware","netgear:d6400_firmware","netgear:r6250_firmware","netgear:r6400_firmware","netgear:r6700_firmware","netgear:r6900_firmware","netgear:r7000_firmware","netgear:r7100lg_firmware","netgear:r7300dst_firmware","netgear:r7900_firmware","netgear:r8000_firmware"],"type":"command_injection","year":"2016"},"n_packages":0,"n_references":8,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2016-6283"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2016-6276"},"products":["n/a"],"published":"2016-12-14","related":[{"cvss_score":9.6,"headline":"Memory corruption in n/a","id":"CVE-2021-45527","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":9.6,"headline":"Memory corruption in n/a","id":"CVE-2021-45610","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":9.6,"headline":"Memory corruption in n/a","id":"CVE-2021-45638","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":8.8,"headline":"NETGEAR Multiple Routers httpd Stack-based Buffer Overflow Remote Code Execution Vulnerability","id":"CVE-2021-34982","kev_date_added":null,"published":"2024-05-07"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2023-33533","kev_date_added":null,"published":"2023-06-06"},{"cvss_score":8.8,"headline":"Memory corruption in R6700v3","id":"CVE-2022-27643","kev_date_added":null,"published":"2023-03-29"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"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":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary commands on NETGEAR routers via shell metacharacters in the path info to cgi-bin.","url":"https://insights.sbomify.com/CVE-2016-6277/"}