CVE-2014-0233: Command Injection

Published May 12, 2014
·
Updated

Jeremy Choi of Red Hat reports:

Attackers, with normal user privilege, are able to do OS command injection with root by leveraging a downloadable cartridge where its source-URL scheme is 'file'.

In cartridgerepository.rb:

532 when 'file' == uri.scheme 533 entries = Dir.glob(PathUtils.join(uri.path, ''), File::FNMDO TMATCH) 534 filesystemcopy(entries, target, %w(. ..)) ... 609 Utils.oospawn("/bin/cp -ad #{entries.join(' ')} #{target}", 610 expectedexitstatus: 0)

OpenShift Origin copies the directory structure from the user specified cartridge when an application is created via 'file' scheme source. Due to this attackers are able to add an arbitrary directory with system commands (e.g. ;reboot;) in their apps and put it to cp, resulting in OS command injection attack with root privileges.

Other sources

Red Hat OpenShift Enterprise 2.0 and 2.1 and OpenShift Origin allow remote authenticated users to execute arbitrary commands via shell metacharacters in a directory name that is referenced by a cartridge using the file: URI scheme.

MITRE

Affected Software

2 affected components
redhat Openshift=2.0
redhat Openshift=2.1

Event History

May 12, 2014
Data Sourced
via Red Hat·07:05 PM
DescriptionSeverityAffected Software
Nov 16, 2014
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2014-0233?

CVE-2014-0233 is considered a high severity vulnerability due to its potential for OS command injection that can be exploited by normal users.

2

How do I fix CVE-2014-0233?

To fix CVE-2014-0233, update Red Hat OpenShift to the latest patches that address this OS command injection vulnerability.

3

What systems are affected by CVE-2014-0233?

CVE-2014-0233 affects Red Hat OpenShift versions 2.0 and 2.1, allowing attackers to execute commands with root privileges.

4

What type of attack is CVE-2014-0233?

CVE-2014-0233 is categorized as an OS command injection vulnerability due to flaws in how file URLs are processed.

5

Who reported the vulnerability CVE-2014-0233?

CVE-2014-0233 was reported by Jeremy Choi of Red Hat.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203