12/5/2014
16/11/2014
6/8/2024
CVE-2014-0233: Command Injection
First published: Mon 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 cartridge_repository.rb:
532 when 'file' == uri.scheme
533 entries = Dir.glob(PathUtils.join(uri.path, '*'), File::FNM_DO TMATCH)
534 filesystem_copy(entries, target, %w(. ..))
...
609 Utils.oo_spawn("/bin/cp -ad #{entries.join(' ')} #{target}",
610 expected_exitstatus: 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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|
Redhat Openshift | =2.0 | |
Redhat Openshift | =2.1 | |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
- agent/last-modified-date
- agent/first-publish-date
- agent/type
- collector/nvd-index
- agent/software-canonical-lookup-request
- agent/weakness
- agent/severity
- agent/author
- agent/references
- agent/softwarecombine
- agent/description
- agent/event
- agent/tags
- collector/mitre-cve
- source/MITRE
- collector/redhat-bugzilla
- source/Red Hat
- alias/CVE-2014-0233
- vendor/redhat
- canonical/redhat openshift
- version/redhat openshift/2.0
- version/redhat openshift/2.1
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203