Affected versions
RubyGemsrails
- Affected versions
- < 1.2.4
- Fixed version
- 1.2.4
Exploitation
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.
Links
- http://bugs.gentoo.org/show_bug.cgi?id=195315
- http://docs.info.apple.com/article.html?artnum=307179
- http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
- http://security.gentoo.org/glsa/glsa-200711-17.xml
- http://www.us-cert.gov/cas/techalerts/TA07-352A.html
- http://www.vupen.com/english/advisories/2007/3508
- http://www.vupen.com/english/advisories/2007/4238
- https://github.com/advisories/GHSA-fjfg-q662-gm6j
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-5379.yml
- https://nvd.nist.gov/vuln/detail/CVE-2007-5379
- https://rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
- https://web.archive.org/web/20090602000500/http://dev.rubyonrails.org/ticket/8453
Credits
- katzj

