DrayTek pre-auth RCE

Anandhu Krishnan
Published on
16 Jun 2021

Remote execution is possible for DrayTek devices of versions Vigor2960 1.3.1_Beta, Vigor3900 1.4.4_Beta, and Vigor300B 1.3.3_Beta,, and 1.4.4_Beta . The remote code execution is done through shell metacharacters into the cgi-bin/mainfunction.cgi URI. This vulnerability has been fixed in Vigor3900/2960/300B v1.5.1.

Mitigation / Precaution

In order to patch this vulnerability, please install the official patch DrayTek made available for supported, vulnerable instances.

Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Anandhu Krishnan
Anandhu Krishnan
Lead Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment