CVE-2023-2316 Typora Local File Disclosure
A crafted webpage or markdown file can exploit improper path handling in Typora to access and exfiltrate local files to remote servers.
- 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-2023-2316?
CVE-2023-2316 is a high-severity path traversal vulnerability in Typora, published on 19 Aug 2023. 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
Improper path handling in Typora before 1.6.7 on Windows and Linux allows a crafted webpage to access local files and exfiltrate them to remote web servers via "typora://app/<absolute-path>".
This vulnerability can be exploited if a user opens a malicious markdown file in Typora, or copies text from a malicious webpage and paste it into Typora.
Weakness: CWE-22
Which versions are affected by CVE-2023-2316?
It affects 1 product.
Products include Typora Typora.
How do I fix CVE-2023-2316?
No fix has been published for CVE-2023-2316 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-2023-2316 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2316 exists.
Other vulnerabilities in Typora
Sources
Also known as GHSA-9f2q-mg3j-68hc.