CVE-2021-46381 Path traversal in n/a

High 7.5 Published Updated

Attackers can read sensitive system files like /etc/passwd and /etc/shadow via path traversal in D-Link DAP-1620 devices.

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

What is CVE-2021-46381?

CVE-2021-46381 is a high-severity path traversal vulnerability in n/a, published on 4 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Local File Inclusion due to path traversal in D-Link DAP-1620 leads to unauthorized internal files reading [/etc/passwd] and [/etc/shadow].

Weakness: CWE-22

Which versions are affected by CVE-2021-46381?

It affects 1 product.

Products include Dlink Dap-1620 Firmware.

How do I fix CVE-2021-46381?

No fix has been published for CVE-2021-46381 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-46381 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-46381 exists.

Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-xjh5-4xm7-v6pc.

Is CVE-2021-46381 in your software?

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

Check your SBOMs for free