CVE-2020-8515
CRITICAL KEV NUCLEIDrayTek Vigor2960/Vigor3900/Vigor300B Beta - Unauthenticated Remote Code Execution via mainfunction.cgi
Title source: manualExploitation Summary
CVE-2020-8515 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added November 3, 2021. EIP tracks 4 public exploits from researchers including 0xsha, imjdl, darrenmartyn. A Nuclei detection template is also available.
AI-analyzed exploit summary This exploit leverages an unauthenticated command injection vulnerability in DrayTek routers via the 'keyPath' parameter in the '/cgi-bin/mainfunction.cgi' endpoint. It constructs a malicious payload to execute arbitrary commands by bypassing input sanitization using ${IFS} for space substitution.
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.
Exploits (4)
This exploit leverages an unauthenticated command injection vulnerability in DrayTek routers via the 'keyPath' parameter in the '/cgi-bin/mainfunction.cgi' endpoint. It constructs a malicious payload to execute arbitrary commands by bypassing input sanitization using ${IFS} for space substitution.
This repository contains a functional exploit PoC for CVE-2020-8515, a command execution vulnerability in DrayTek Vigor routers. The exploit leverages a command injection flaw in the 'mainfunction.cgi' endpoint by manipulating the 'keyPath' parameter.
This repository contains a functional Python exploit for CVE-2020-8515, a command injection vulnerability in Draytek Vigor routers. The exploit demonstrates remote code execution (RCE) by injecting commands into the 'keyPath' parameter of the login endpoint, with the injected command executed twice due to the vulnerability's behavior.
This repository contains an Nmap script designed to detect CVE-2020-8515, a remote code execution vulnerability affecting Draytek devices. The script is likely used for scanning and identifying vulnerable systems rather than exploiting them.
Nuclei Templates (1)
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H