CVE-2019-13228 Path traversal in n/a
An unprivileged user can exploit a symlink race condition in deepin-clone to overwrite arbitrary files and potentially escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-13228?
CVE-2019-13228 is a medium-severity path traversal vulnerability in n/a, published on 4 Jul 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
deepin-clone before 1.1.3 uses a fixed path /tmp/repo.iso in the BootDoctor::fix() function to download an ISO file, and follows symlinks there. An unprivileged user can prepare a symlink attack there to create or overwrite files in arbitrary file system locations. The content is not attacker controlled. By winning a race condition to replace the /tmp/repo.iso symlink by an attacker controlled ISO file, further privilege escalation may be possible.
Weakness: CWE-59
Which versions are affected by CVE-2019-13228?
It affects 1 product.
Products include Deepin Deepin-Clone.
How do I fix CVE-2019-13228?
No fix has been published for CVE-2019-13228 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-13228 being exploited?
There is no known exploitation of CVE-2019-13228 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4q9c-fvpx-pq67.