Path traversal in Kodi



Published: 2017-02-28 | Updated: 2020-08-08
Risk Medium
Patch available NO
Number of vulnerabilities 1
CVE-ID CVE-2017-5982
CWE-ID CWE-22
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Kodi
Client/Desktop applications / Multimedia software

Vendor Kodi

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU39617

Risk: Medium

CVSSv3.1: 7.3 [AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:F/RL:U/RC:C]

CVE-ID: CVE-2017-5982

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in the Chorus2 2.4.2 add-on for Kodi. A remote authenticated attacker can send a specially crafted HTTP request and 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.

Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

Kodi: 17.1

External links

http://packetstormsecurity.com/files/141043/Kodi-17.1-Arbitrary-File-Disclosure.html
http://seclists.org/fulldisclosure/2017/Feb/27
http://www.securityfocus.com/bid/96481
http://www.exploit-db.com/exploits/41312/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.



###SIDEBAR###