CVE-2021-20124 Draytek VigorConnect Path Traversal Vulnerability

Exploited in the wild High 7.5 Published Updated

Unauthenticated attackers can download arbitrary files with root privileges via a local file inclusion vulnerability in the WebServlet endpoint.

Exploited in the wild
Since 3 Sep 2024
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-20124?

CVE-2021-20124 is a high-severity path traversal vulnerability in Draytek VigorConnect, published on 13 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A local file inclusion vulnerability exists in Draytek VigorConnect 1.6.0-B3 in the file download functionality of the WebServlet endpoint. An unauthenticated attacker could leverage this vulnerability to download arbitrary files from the underlying operating system with root privileges.

Weakness: CWE-22

Which versions are affected by CVE-2021-20124?

It affects 1 product.

Products include Draytek Vigorconnect.

How do I fix CVE-2021-20124?

No fix has been published for CVE-2021-20124 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 24 Sep 2024.

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

Is CVE-2021-20124 being exploited?

Yes. Attackers have exploited CVE-2021-20124 in the wild since at least 3 Sep 2024.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-hj9j-3xxg-6259.

Is CVE-2021-20124 in your software?

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

Check your SBOMs for free