Articles / Debian: Security update for...

Debian: Security update for rails

joernchen of Phenoelit discovered that rails, an MVC ruby based framework geared for web application development, is not properly treating user-supplied input to find_by_* methods. Depending on how the ruby on rails application is using these methods, this allows an attacker to perform SQL injection attacks, e.g., to bypass authentication if Authlogic is used and the session secret token is known.

Updated packages are available from security.debian.org.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -------------------------------------------------------------------------
Debian Security Advisory DSA-2597-1                   security@debian.org
http://www.debian.org/security/                                Nico Golde
January 04, 2013                       http://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package        : rails
Vulnerability  : input validation error
Problem type   : remote
Debian-specific: no
CVE ID         : CVE-2012-5664

joernchen of Phenoelit discovered that rails, an MVC ruby based framework
geared for web application development, is not properly treating
user-supplied input to "find_by_*" methods.  Depending on how the ruby
on rails application is using these methods, this allows an attacker
to perform SQL injection attacks, e.g., to bypass authentication if
Authlogic is used and the session secret token is known.

For the stable distribution (squeeze), this problem has been fixed in
version 2.3.5-1.2+squeeze4.

For the testing distribution (wheezy), this problem will be fixed soon.

For the unstable distribution (sid), this problem has been fixed in
ruby-activerecord-2.3 version 2.3.14-3.


We recommend that you upgrade your rails/ruby-activerecord-2.3 packages.

Further information about Debian Security Advisories, how to apply
these updates to your system and frequently asked questions can be
found at: http://www.debian.org/security/

Mailing list: debian-security-announce@lists.debian.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlDnU5AACgkQHYflSXNkfP8q1wCgpLa0xB5jta45XcB0xCHcPcN/
iH4AniCdZzHSPW5kzYb8zYxvQ84BIJ9E
=xdrl
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Gitblit

A pure Java Git solution.

Screenshot

Project Spotlight

PSXImager

A collection of tools for dumping and mastering PlayStation 1 CD-ROM images.