2021-10-10 19:49:54 +00:00
|
|
|
id: electron-version-detect.yaml
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Electron Version Detect
|
|
|
|
author: me9187
|
|
|
|
severity: info
|
|
|
|
tags: electron,file
|
|
|
|
reference:
|
|
|
|
- https://www.electronjs.org/blog/chromium-rce-vulnerability/
|
|
|
|
# Check the electron version on snyk.io to see if the bundled chromium version is outdated
|
|
|
|
# If the chromium version is old you can turn XSS into RCE
|
|
|
|
|
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- json
|
|
|
|
|
|
|
|
extractors:
|
2021-10-10 19:59:22 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- '"electronVersion":"[^"]*"'
|