CVE-2018-10822 Path traversal in n/a

High 7.5 Published Updated

Remote attackers can read arbitrary files on D-Link routers via directory traversal in the web interface, exposing sensitive configuration data.

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-2018-10822?

CVE-2018-10822 is a high-severity path traversal vulnerability in n/a, published on 17 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in the web interface on D-Link DWR-116 through 1.06, DIR-140L through 1.02, DIR-640L through 1.02, DWR-512 through 2.02, DWR-712 through 2.02, DWR-912 through 2.02, DWR-921 through 2.02, and DWR-111 through 1.01 devices allows remote attackers to read arbitrary files via a /.. or // after "GET /uir" in an HTTP request. NOTE: this vulnerability exists because of an incorrect fix for CVE-2017-6190.

Weakness: CWE-22

Which versions are affected by CVE-2018-10822?

It affects 8 products.

Products include Dlink Dir-140l Firmware, Dlink Dir-640l Firmware, Dlink Dwr-111 Firmware, Dlink Dwr-116 Firmware, Dlink Dwr-512 Firmware, Dlink Dwr-712 Firmware and 2 more.

How do I fix CVE-2018-10822?

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

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

Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.

Sources

Also known as GHSA-qr3w-mv9r-8gf8.

Is CVE-2018-10822 in your software?

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

Check your SBOMs for free