Merge pull request #2822 from Meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee/master

Create  node-integration.yaml
patch-1
Prince Chaddha 2021-10-04 19:02:58 +05:30 committed by GitHub
commit 700e35f2dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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
# 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:
- "nodeIntegration: true"