Merge pull request #2871 from Meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee/master
Create electron-version-detect.yamlpatch-1
commit
b233293753
|
@ -0,0 +1,20 @@
|
||||||
|
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:
|
||||||
|
- type: regex
|
||||||
|
regex:
|
||||||
|
- '"electronVersion":"[^"]*"'
|
Loading…
Reference in New Issue