CVE-2019-14657 Path traversal in n/a

High 8.8 Published Updated

Attackers can upload malicious tar files to Yealink phones to overwrite system files via path traversal, achieving root code execution.

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

What is CVE-2019-14657?

CVE-2019-14657 is a high-severity path traversal vulnerability in n/a, published on 8 Oct 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Yealink phones through 2019-08-04 have an issue with OpenVPN file upload. They execute tar as root to extract files, but do not validate the extraction directory. Creating a tar file with ../../../../ allows replacement of almost any file on a phone. This leads to password replacement and arbitrary code execution as root.

Weakness: CWE-434, CWE-22

Which versions are affected by CVE-2019-14657?

It affects 3 products.

Products include Yeahlink T49g Firmware, Yeahlink T58v Firmware, Yeahlink Vp59 Firmware.

How do I fix CVE-2019-14657?

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

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

Sources

Also known as GHSA-3hj6-89vp-w89r.

Is CVE-2019-14657 in your software?

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

Check your SBOMs for free