CVE-2021-46381 Path traversal in n/a
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.
Other vulnerabilities in n/a
- CVE-2025-2618 D-Link DAP-1620 Path api set_ws_action heap-based overflow
- CVE-2025-2619 D-Link DAP-1620 Cookie storage check_dws_cookie stack-based overflow
- CVE-2025-2620 D-Link DAP-1620 Authentication storage mod_graph_auth_uri_handler stack-based overflow
- CVE-2025-2621 D-Link DAP-1620 storage check_dws_cookie stack-based overflow
Sources
Also known as GHSA-xjh5-4xm7-v6pc.