Featured Articles

Apple iPad Air 2 costs $275 to build

Apple iPad Air 2 costs $275 to build

IHS has told Recode that the Apple iPad Air 2 16GB Wifi costs only $275 to build -- not bad…

More...
LG sells 16.8 million smartphones in Q3 14

LG sells 16.8 million smartphones in Q3 14

As Samsung is losing market share, another Korean company, which many had written off, is gaining.

More...
LG G Watch R EU price set at €299

LG G Watch R EU price set at €299

LG G Watch R is probably the best looking Android Wear device on the market and many have been waiting for…

More...
Nvidia GTX 970 SLI tested

Nvidia GTX 970 SLI tested

Nvidia recently released two new graphics cards based on its latest Maxwell GPU architecture, with exceptional performance-per-watt. The Geforce GTX 970…

More...
Gainward GTX 970 Phantom previewed

Gainward GTX 970 Phantom previewed

Nvidia has released two new graphics cards based on its latest Maxwell GPU architecture. The Geforce GTX 970 and Geforce GTX…

More...
Frontpage Slideshow | Copyright © 2006-2010 orks, a business unit of Nuevvo Webware Ltd.
Friday, 04 January 2013 10:48

Ruby on Rails vulnerable

Written by Nick Farrell



SQL injection vulnerability

All of the current versions of the Ruby on Rails Web framework are shipping with a SQL injection vulnerability which means that hackers can inject code into Web applications. 

The maintainers of Ruby on Rails have released new versions that fixes the flaw, versions 3.2.10, 3.1.9 and 3.0.18 but given that it is a popular framework for developing Web apps things could get messy. The open-source framework is used by a wide variety of organisations and the flaw is in the way that dynamic finders in Active Record extract options from method parameters.

The dynamic finders in Active Record extract options from method parameters, a method parameter can mistakenly be used as a scope. This means that a dodgy request can use the scope to inject arbitrary SQL, the advisory says. All users running an affected release should either upgrade or use one of the work arounds immediately.

The advisory recommends that users running affected versions, which is essentially anyone using Ruby on Rails, upgrade immediately to one of the fixed versions, 3.2.10, 3.1.9 or 3.0.18. The vulnerability doesn't mean that all of the apps developed on vulnerable versions are susceptible to the bug.

Nick Farrell

E-mail: This e-mail address is being protected from spambots. You need JavaScript enabled to view it
blog comments powered by Disqus

 

Facebook activity

Latest Commented Articles

Recent Comments