{"answers":{"affected":"It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2020-8515 in the wild since at least 3 Nov 2021.","fix":"No fix has been published for CVE-2020-8515 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.","what":"CVE-2020-8515 is a critical command injection vulnerability in n/a, published on 1 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-8515 and fix it if it is affected.\n\nWhat it is: CVE-2020-8515 is a critical command injection vulnerability in n/a, published on 1 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2020-8515 in the wild since at least 3 Nov 2021.\n\nAffected product: n/a. 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-8515/ (Markdown: https://insights.sbomify.com/CVE-2020-8515/index.md)","id":"CVE-2020-8515","markdown":"https://insights.sbomify.com/CVE-2020-8515/index.md","name":"CVE-2020-8515","record":{"aliases":["GHSA-4866-p686-25f3"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"DrayTek router","requires_auth":"none","summary":"Remote attackers can execute arbitrary commands as root on DrayTek routers without authentication via shell metacharacters in the mainfunction.cgi URI.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"vigor2960_firmware","vendor":"draytek"},{"product":"vigor300b_firmware","vendor":"draytek"},{"product":"vigor3900_firmware","vendor":"draytek"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","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-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"DrayTek Vigor2960 1.3.1_Beta, Vigor3900 1.4.4_Beta, and Vigor300B 1.3.3_Beta, 1.4.2.1_Beta, and 1.4.4_Beta devices allow remote code execution as root (without authentication) via shell metacharacters to the cgi-bin/mainfunction.cgi URI. This issue has been fixed in Vigor3900/2960/300B v1.5.1.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2020-03-30","github_poc":3,"max_poc_stars":14,"metasploit":0,"nuclei":1,"refs":[{"date":"2020-03-30T03:31:26Z","kind":"github_poc","ref":"https://github.com/imjdl/CVE-2020-8515-PoC","stars":14,"title":"CVE-2020-8515-PoC"},{"date":"2021-09-01T22:47:54Z","kind":"github_poc","ref":"https://github.com/darrenmartyn/CVE-2020-8515","stars":5,"title":"Draytek CVE-2020-8515 PoC"},{"date":"2020-03-31T05:40:11Z","kind":"github_poc","ref":"https://github.com/truerandom/nmap_draytek_rce","stars":3,"title":"nmap script to detect CVE-2020-8515 on Draytek Devices"},{"date":"2020-03-30","kind":"exploitdb","ref":"48268","stars":null,"title":"Multiple DrayTek Products - Pre-authentication Remote Root Code Execution"},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-8515.yaml","stars":null,"title":"DrayTek - Remote Code Execution"}],"tier":"exploited"},"has_fix":null,"headline":"Multiple DrayTek Vigor Routers Web Management Page","id":"CVE-2020-8515","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","product":"Multiple Vigor Routers","requiredAction":"Apply updates per vendor instructions.","vendorProject":"DrayTek","vulnerabilityName":"Multiple DrayTek Vigor Routers Web Management Page Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2020"},"n_packages":0,"n_references":3,"next":{"headline":"Information disclosure in n/a","id":"CVE-2020-8516"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2020-8514"},"products":["n/a"],"published":"2020-02-01","related":[{"cvss_score":9.8,"headline":"DrayTek Multiple Vigor Routers OS Command Injection","id":"CVE-2020-15415","kev_date_added":"2024-09-30","published":"2020-06-30"},{"cvss_score":6.9,"headline":"DrayTek Vigor Routers OS Command Injection","id":"CVE-2024-12987","kev_date_added":"2025-05-15","published":"2024-12-27"},{"cvss_score":9.8,"headline":"Other in n/a","id":"CVE-2021-42911","kev_date_added":null,"published":"2022-03-29"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2021-43118","kev_date_added":null,"published":"2022-03-29"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2020-14472","kev_date_added":null,"published":"2020-06-24"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2020-14473","kev_date_added":null,"published":"2020-06-24"}],"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":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary commands as root on DrayTek routers without authentication via shell metacharacters in the mainfunction.cgi URI.","url":"https://insights.sbomify.com/CVE-2020-8515/"}