Arbitrary Command Injection

Affecting apex-publish-static-files package, versions <2.0.1

Do your applications use this vulnerable package? Test your applications

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.

Remediation

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

References

CVSS Score

10.0
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Changed
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Credit
Abdillah Muhamad
CVE
CVE-2018-16462
CWE
CWE-78
Snyk ID
SNYK-JS-APEXPUBLISHSTATICFILES-72552
Disclosed
01 Nov, 2018
Published
04 Nov, 2018