Update Ruby now before it goes off the Rails

Attackers are using critical vulnerabilities in Ruby on Rails to steal data and compromise websites.

Do you use Ruby on Rails? If so, it's time to update. Now.

Ruby on Rails is an open source Web application framework built to use with the Ruby programming language. Ruby on Rails--or just Rails--gives Web developers the ability to gather information from Web servers, or query a database. Rails is used across an estimated quarter of a million websites ranging from ecommerce to cloud storage.

Rails contains critical vulnerabilities that are being targeted by attackers. The mass assignments vulnerability is the Rails equivalent of SQL injection, and exposes Rails to exploits.

Lamar Bailey, director of security research and development for nCircle, explained, "All unpatched versions of Ruby on Rails contain critical vulnerabilities involving parameter parsing and attackers can use these bugs to execute code or launch SQL injection attacks."

Bailey also pointed out that popular tools have automated the exploits so its even easier for attackers. The exploits are circulating in the wild, and there are reports of hijacked Web servers. A successful exploit can allow attackers to take over a website, or steal value data from the underlying databases.

The issue affects any server where the XML parser is active--which it is by default. A possible workaround is to simply disable the XML parser, but if your Rails applications need to process XML input you're going to have a problem. There is a Rails security advisory, which dives deeper and explains how to disable the YAML and Symbol support that are the crux of the problem in the XML parser.

A better solution is to update Ruby. New versions of Ruby are available which patch these vulnerabilities. The new releases (3.2.11, 3.1.10, 3.0.19, and 2.3.15) contain two extremely critical security fixes. Security experts urge IT admins to make updating Ruby a top priority.

Bailey says, "Update Ruby immediately, if not sooner."

Tags open sourcesecuritysoftwareWebsitesbusiness security

Comments

Comments are now closed

CSO Corporate Partners
  • f5
  • Webroot
  • Trend Micro
  • NetIQ
rhs_login_lockGet exclusive access to CSO, invitation only events, reports & analysis.
CSO Directory

Security Solutions-GigaVUE-2404

Newgen provides innovative network monitoring and security solutions based upon Gigamon’s GigaVUE-2404

Latest Jobs
Security Awareness Tip
Security ABC Guides

Warning: Tips for secure mobile holiday shopping

I’m dating myself, but I remember when holiday shopping involved pouring through ads in the Sunday paper, placing actual phone calls from tethered land lines to research product stock and availability, and actually driving places to pick things up. Now, holiday shoppers can do all of that from a smartphone or tablet in a few seconds, but there are some security pitfalls to be aware of.