CVE-2021-20127 Path traversal in Draytek VigorConnect

High 8.1 Published Updated

Authenticated attackers can delete arbitrary files with root privileges via path traversal in the Html5Servlet endpoint of Draytek VigorConnect.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-20127?

CVE-2021-20127 is a high-severity path traversal vulnerability in Draytek VigorConnect, published on 13 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An arbitrary file deletion vulnerability exists in the file delete functionality of the Html5Servlet endpoint of Draytek VigorConnect 1.6.0-B3. This allows an authenticated user to arbitrarily delete files in any location on the target operating system with root privileges.

Which versions are affected by CVE-2021-20127?

It affects 1 product.

Products include Draytek Vigorconnect.

How do I fix CVE-2021-20127?

No fix has been published for CVE-2021-20127 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-20127 being exploited?

There is no known exploitation of CVE-2021-20127 in the wild and no public exploit code.

Sources

Also known as GHSA-x2rp-7w26-4883.

Is CVE-2021-20127 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free