nuclei-templates/file/electron/node-integration-enabled.yaml

22 lines
587 B
YAML
Raw Normal View History

2021-10-03 20:46:05 +00:00
id: node-integration-enabled
info:
name: Node Integration Enabled
author: me9187
severity: critical
reference:
- https://blog.yeswehack.com/yeswerhackers/exploitation/pentesting-electron-applications/
- https://book.hacktricks.xyz/pentesting/pentesting-web/xss-to-rce-electron-desktop-apps
tags: electron,file,nodejs
2021-10-03 20:46:05 +00:00
# nodeIntegration in Electron Applications means you can turn XSS into RCE by calling require('child_process').exec('COMMAND');
file:
- extensions:
- all
matchers:
- type: word
words:
2021-10-03 20:50:50 +00:00
- "nodeIntegration: true"