CVE-2012-5687 Path traversal in n/a

High 7.8 Published Updated

Remote attackers can read arbitrary files on TP-LINK TL-WR841N routers via directory traversal in the web management interface.

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-2012-5687?

CVE-2012-5687 is a high-severity path traversal vulnerability in n/a, published on 1 Nov 2012. 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-based management feature on the TP-LINK TL-WR841N router with firmware 3.13.9 build 120201 Rel.54965n and earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the PATH_INFO to the help/ URI.

Weakness: CWE-22

Which versions are affected by CVE-2012-5687?

It affects 2 products.

Products include Tp-Link Tl-Wr841n, Tp-Link Tl-Wr841n Firmware.

How do I fix CVE-2012-5687?

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

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

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

Sources

Also known as GHSA-wg7c-4w5w-r4pv.

Is CVE-2012-5687 in your software?

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

Check your SBOMs for free