CVE-2019-12172 Path traversal in n/a
Attackers can execute arbitrary code by exploiting path traversal in file URLs within HTML area tags in Typora.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2019-12172?
CVE-2019-12172 is a high-severity path traversal vulnerability in n/a, published on 17 May 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Typora 0.9.9.21.1 (1913) allows arbitrary code execution via a modified file: URL syntax in the HREF attribute of an AREA element, as demonstrated by file:\\\ on macOS or Linux, or file://C| on Windows. This is different from CVE-2019-12137.
Weakness: CWE-22
Which versions are affected by CVE-2019-12172?
It affects 1 product.
Products include Typora Typora.
How do I fix CVE-2019-12172?
No fix has been published for CVE-2019-12172 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-12172 being exploited?
There is no known exploitation of CVE-2019-12172 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-j8m6-hgfm-cp2q.