blob: b312cfb1437357e273e9f87bc854cdf2652e6e67 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200711-17">
<title>Ruby on Rails: Multiple vulnerabilities</title>
Several vulnerabilities were found in Ruby on Rails allowing for file
disclosure and theft of user credentials.
<product type="ebuild">rails</product>
<announced>November 14, 2007</announced>
<revised>November 14, 2007: 01</revised>
<package name="dev-ruby/rails" auto="yes" arch="*">
<unaffected range="ge">1.2.5</unaffected>
<vulnerable range="lt">1.2.5</vulnerable>
Ruby on Rails is a free web framework used to develop database-driven
web applications.
candlerb found that ActiveResource, when processing responses using the
Hash.from_xml() function, does not properly sanitize filenames
(CVE-2007-5380). The session management functionality allowed the
"session_id" to be set in the URL (CVE-2007-5380). BCC discovered that
the to_json() function does not properly sanitize input before
returning it to the user (CVE-2007-3227).
<impact type="normal">
Unauthenticated remote attackers could exploit these vulnerabilities to
determine the existence of files or to read the contents of arbitrary
XML files; conduct session fixation attacks and gain unauthorized
access; and to execute arbitrary HTML and script code in a user's
browser session in context of an affected site by enticing a user to
browse a specially crafted URL.
There is no known workaround at this time.
All Ruby on Rails users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=dev-ruby/rails-1.2.5&quot;</code>
<uri link="">CVE-2007-3227</uri>
<uri link="">CVE-2007-5379</uri>
<uri link="">CVE-2007-5380</uri>
<metadata tag="requester" timestamp="Wed, 07 Nov 2007 08:24:34 +0000">
<metadata tag="bugReady" timestamp="Wed, 07 Nov 2007 20:49:09 +0000">
<metadata tag="submitter" timestamp="Fri, 09 Nov 2007 19:31:01 +0000">