Arbitrary Command Injection Affecting apex-publish-static-files package, versions <2.0.1


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Scope Changed
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.34% (72nd percentile)
Expand this section
NVD
10 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-APEXPUBLISHSTATICFILES-72552
  • published 4 Nov 2018
  • disclosed 30 Oct 2018
  • credit Abdillah Muhamad

How to fix?

Upgrade apex-publish-static-files to version 2.0.1 or higher.

Overview

apex-publish-static-files Uploads all files from a local directory to Oracle APEX.

Affected versions of this package are vulnerable to Arbitrary Command Injection. It does not sanitize the connectionString argument, and subsequently passes it to execSync(), thus allowing arbitrary shell command injection.