CVE-2014-0057: Code Injection

Published Feb 12, 2014
·
Updated

Jan Rusnacko of the Red Hat Product Security Team reports:

CFME contains an unsafe invocation of send method on user-supplied argument. This issue is reported by Brakeman as problem in ServiceController method xbutton:

vmdb/app/controllers/servicecontroller.rb

16 def xbutton 17 @explorer = true 18 model, action = pressed2modelaction(params[:pressed]) 19 @sb[:action] = action 20 if ["ownership","tag"].include?(action) 21 self.send(params[:pressed],"Service") 22 else 23 self.send(params[:pressed]) 24 end

Assuming pressed2modelaction sanitizes user input, this look like false-positive. However, pressed2modelaction does not do sanitization, and only splits string on underscore:

def pressed2modelaction(pressed) pressed =~ /^(vmvdi|miqtemplate)(.)$/ ? [$1, $2] : pressed.split('', 2) end

If action parsed from user-supplied input is neither "ownership", nor "tag", else branch is executed and client can execute arbitrary method on controller, including private.

Other sources

The xbutton method in the ServiceController (vmdb/app/controllers/servicecontroller.rb) in Red Hat CloudForms 3.0 Management Engine 5.2 allows remote attackers to execute arbitrary methods via unspecified vectors.

— MITRE

Affected Software

2 affected components
redhat Cloudforms=3.0
redhat Cloudforms 3.0 Management Engine=5.2

Event History

Feb 12, 2014
Data Sourced
via Red Hat·05:40 AM
DescriptionSeverityAffected Software
Mar 18, 2014
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·05:02 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2014-0057?

CVE-2014-0057 has been classified with a moderate severity level due to the potential for arbitrary code execution.

2

How do I fix CVE-2014-0057?

To fix CVE-2014-0057, upgrade to the latest patched version of Red Hat CloudForms or Red Hat CloudForms Management Engine.

3

Which versions are affected by CVE-2014-0057?

CVE-2014-0057 affects Red Hat CloudForms 3.0 and Red Hat CloudForms Management Engine 5.2.

4

Is CVE-2014-0057 exploitable remotely?

Yes, CVE-2014-0057 is considered remotely exploitable as it involves user-supplied arguments.

5

What products does CVE-2014-0057 affect?

CVE-2014-0057 specifically affects Red Hat CloudForms and Red Hat CloudForms Management Engine.

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