Arbitrary Command Injection

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

high severity

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

Do your applications use this vulnerable package?

Credit
Abdillah Muhamad
CVE
CVE-2018-16462
CWE
CWE-78
Snyk ID
SNYK-JS-APEXPUBLISHSTATICFILES-72552
Disclosed
01 Nov, 2018
Published
04 Nov, 2018