PT-2023-22366 · Typora · Typora
Cursered
+1
·
Published
2023-08-18
·
Updated
2023-10-19
·
CVE-2023-2971
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Typora versions prior to 1.7.0-dev
Description
The issue is related to improper path handling, which allows a crafted webpage to access local files and exfiltrate them to remote web servers via "typora://app/typemark/". This can be exploited if a user opens a malicious markdown file in Typora or copies text from a malicious webpage and pastes it into Typora.
Recommendations
For versions prior to 1.7.0-dev, update to version 1.7.0-dev or later to resolve the issue. As a temporary workaround, consider avoiding the use of the "typora://app/typemark/" endpoint until a patch is applied. Additionally, users should be cautious when opening markdown files from untrusted sources or copying text from potentially malicious webpages.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Typora