RubySec

Providing security resources for the Ruby community

CVE-2007-5379 (rails): Moderate severity vulnerability that affects rails

ADVISORIES

GEM

rails

FRAMEWORK

Ruby on Rails

SEVERITY

CVSS v2.0: 5.0 (Medium)

PATCHED VERSIONS

  • >= 1.2.5

DESCRIPTION

Rails before 1.2.4, as used for Ruby on Rails, allows remote attackers and ActiveResource servers to determine the existence of arbitrary files and read arbitrary XML files via the Hash.from_xml (Hash#from_xml) method, which uses XmlSimple (XML::Simple) unsafely, as demonstrated by reading passwords from the Pidgin (Gaim) .purple/accounts.xml file.

RELATED