vboxmanage.js@1.0.1 vulnerabilities

A wrapper for VirtualBox CLI with Promises

  • latest version

    1.0.9

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    4 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the vboxmanage.js package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Command Injection

    vboxmanage.js is an A wrapper for VirtualBox CLI with Promises

    Affected versions of this package are vulnerable to Command Injection. The vmname parameter is used to build the command that is passed to the child_process.exec function without any check.

    PoC

    var VBox = require('vboxmanage.js');
    VBox.start(';touch HACKED;').then(function () {}).catch(function (err) {});
    

    How to fix Command Injection?

    Upgrade vboxmanage.js to version 1.0.9 or higher.

    <1.0.9