CVE-2020-5797 Path traversal in TP-Link Archer C9 A1

Medium 6.1 Published Updated

An attacker with physical access can use a crafted USB drive to read sensitive files and modify limited files on the router via symlink following.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-5797?

CVE-2020-5797 is a medium-severity path traversal vulnerability in TP-Link Archer C9 A1, published on 21 Nov 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

UNIX Symbolic Link (Symlink) Following in TP-Link Archer C9(US)_V1_180125 firmware allows an unauthenticated actor, with physical access and network access, to read sensitive files and write to a limited set of files after plugging a crafted USB drive into the router.

Weakness: CWE-59

Which versions are affected by CVE-2020-5797?

It affects 1 product.

Products include Tp-Link Archer C9 Firmware.

How do I fix CVE-2020-5797?

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

There is no known exploitation of CVE-2020-5797 in the wild and no public exploit code.

Sources

Also known as GHSA-6qx3-hcm8-xh2m.

Is CVE-2020-5797 in your software?

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

Check your SBOMs for free