Two vulnerabilities have been reported in Ruby on Rails, which can be exploited by malicious people to bypass certain security restrictions and compromise a vulnerable system.
1) An error within the "attr_protected" method in ActiveRecord does not properly restrict access to the blacklist of model attributes, which can be exploited to modify certain otherwise restricted values via a specially crafted request.
Successful exploitation of this vulnerability requires an application using the "attr_protected" method.
This vulnerability is reported in versions prior to 3.2.12, 3.1.11, and 2.3.17.
2) An input validation error within the "+serialize+" helper in ActiveRecord when parsing serialized fields can be exploited to deserialize arbitrary YAML input.
Successful exploitation of this vulnerability may allow execution of arbitrary code but requires an application to allow input to be assigned to the serialized fields.
This vulnerability is reported in versions 2.3.x and prior and 3.0.x and prior.
Solution: Update to versions 3.2.12, 3.1.11, or 2.3.17.
Provided and/or discovered by: 1) The vendor credits joernchen, Phenoelit and Ryan Koppenhaver, Matasano Security.
2) The vendor credits Tobias Kraze.
Original Advisory: http://weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released/
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com
Subject: Ruby on Rails Two Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.