Brightbox
  • Home
  • Pricing & Sign up
  • Why Brightbox?
  • Products & Services
  • FAQs
  • About
  • Blog
  • Wiki
  • Contact
Blog RSS feed
POSTED BY

John Leach

john@brightbox.co.uk

twitter_banner

Recent Posts

  • Ubuntu 12.04 LTS “Precise” now available
  • Ubuntu 12.04 LTS "Precise" beta testing
  • Another Rails JSON security bug
  • Rails JSON and XML security bugs
  • Rails SQL injection vulnerability

Rails JSON and XML security bugs 9 Jan 13

Two serious vulnerabilities in Rails have been discovered. They concern the parsing of JSON and XML request bodies and can result in an attacker bypassing code, such as authentication systems, and may also be used to run arbitrary Ruby code and even executing system commands.

The rubyonrails.org blog post has more details of these vulnerabilities – CVE-2013-0155 and CVE-2013-0156. Rails 3.x apps need upgrading (or patching) to fix the JSON vulnerabilites. The XML vulnerabilities can be fixed in 3.x or 2.3.x by either upgrading, or specifically disabling the dangerous parts of the XML parser with a simple initializer.

Please note that these issues are separate to, and more serious than, the recent SQL injection vulnerability which we posted about a few days ago.

We urge all customers to upgrade as soon as possible.

Posted 9 January 2013 by John Leach

rails+ ruby+ security+ vulnerabilities

2 Comments

  1. 5 months ago DN said:

    A busy afternoon then. Going to whisper this one quietly but any solutions for Rails 1.2.3. Got a few legacy projects from many many years ago that are still lingering around the internet in various places. Don’t want to spend too much time updating them as they’ve long served their purpose but at the same time don’t want to leave vulnerabilities around.

    As it happens however, the tests on the exploit we were able to run on Rails 2> apps didn’t work on 1.2.3.

    Thanks!

  2. 4 months ago Another Rails JSON security bug | Brightbox Ruby Blog said:

    [...] Rails JSON security bugRails JSON and XML security bugsRails SQL injection vulnerabilityNew Relic Agent vulnerabilityPassenger 3.0.17 and NGINX 1.2.3 [...]

Comments are now closed.


Recent blog posts

  • Ubuntu 12.04 LTS “Precise” now available
    about 1 month ago
  • Ubuntu 12.04 LTS “Precise” beta testing
    2 months ago
  • Another Rails JSON security bug
    4 months ago
  • Rails JSON and XML security bugs
    5 months ago
  • Rails SQL injection vulnerability
    5 months ago
  • New Relic Agent vulnerability
    6 months ago

Join our email list

Flickr (more...)

RSS feeds

Blog feed

Flickr feed

Recent Wiki updates

System Status feed




Wiki | Forums | Terms & Conditions | Privacy | Site Map

Copyright © 2011 Brightbox Systems Ltd. All rights reserved