CVE-2017-17715 Path traversal in n/a
A remote attacker can write arbitrary files to the device via directory traversal in the Telegram Android app's file transfer mechanism.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2017-17715?
CVE-2017-17715 is a high-severity path traversal vulnerability in n/a, published on 16 Dec 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The saveFile method in MediaController.java in the Telegram Messenger application before 2017-12-08 for Android allows directory traversal via a pathname obtained in a file-transfer request from a remote peer, as demonstrated by writing to tgnet.dat or tgnet.dat.bak.
Weakness: CWE-22
Which versions are affected by CVE-2017-17715?
It affects 1 product.
Products include Telegram Telegram Messenger.
How do I fix CVE-2017-17715?
No fix has been published for CVE-2017-17715 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-2017-17715 being exploited?
There is no known exploitation of CVE-2017-17715 in the wild and no public exploit code.
Sources
Also known as GHSA-5vpw-rqv4-gcp5.