CVE-2017-5982 Path traversal in n/a

High 7.5 Published Updated

Remote attackers can read arbitrary files via encoded dot-dot-slash sequences in the image path of the Chorus2 add-on for Kodi.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-5982?

CVE-2017-5982 is a high-severity path traversal vulnerability in n/a, published on 28 Feb 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in the Chorus2 2.4.2 add-on for Kodi allows remote attackers to read arbitrary files via a %2E%2E%252e (encoded dot dot slash) in the image path, as demonstrated by image/image%3A%2F%2F%2e%2e%252fetc%252fpasswd.

Weakness: CWE-22

Which versions are affected by CVE-2017-5982?

It affects 1 product.

Products include Kodi Kodi.

How do I fix CVE-2017-5982?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2017-5982 being exploited?

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

Public exploit code: 1 Metasploit module and 1 Nuclei template.

Sources

Also known as DEBIAN-CVE-2017-5982, GHSA-4x55-4hhv-gr9v, UBUNTU-CVE-2017-5982.

Is CVE-2017-5982 in your software?

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

Check your SBOMs for free