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

21 lines
885 B
YAML

id: node-integration-enabled
info:
name: Electron Applications - Cross-Site Scripting & Remote Code Execution
author: me9187
severity: critical
description: |
Electron Applications is susceptible to remote code execution by way of cross-site scripting via nodeIntegration by calling require('child_process').exec('COMMAND');.
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,xss
file:
- extensions:
- all
matchers:
- type: word
words:
- "nodeIntegration: true"
# digest: 4a0a0047304502204786705d88a14d1888a277cc5d93556cfec1f62f07c6b52fc67bd398eacad084022100d8b0127552cdfea68abfa470f367757cf4d7496dc287ac4826131928c2526233:922c64590222798bb761d5b6d8e72950