what you don't know can hurt you

Secunia Security Advisory 45648

Secunia Security Advisory 45648
Posted Aug 20, 2011
Authored by Secunia | Site secunia.com

Secunia Security Advisory - Some vulnerabilities have been reported in Ruby on Rails, which can be exploited by malicious people to bypass certain security restrictions, conduct cross-site scripting and HTTP response splitting attacks, and conduct SQL injection attacks.

tags | advisory, web, vulnerability, xss, sql injection, ruby
MD5 | 65f8b4400d2d3f16a5226536270303c6

Secunia Security Advisory 45648

Change Mirror Download
----------------------------------------------------------------------

The Secunia CSI 5.0 Beta - now available for testing
Find out more, take a free test drive, and share your opinion with us:
http://secunia.com/blog/242

----------------------------------------------------------------------

TITLE:
Ruby on Rails Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA45648

VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/45648/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=45648

RELEASE DATE:
2011-08-20

DISCUSS ADVISORY:
http://secunia.com/advisories/45648/#comments

AVAILABLE ON SITE AND IN CUSTOMER AREA:
* Last Update
* Popularity
* Comments
* Criticality Level
* Impact
* Where
* Solution Status
* Operating System / Software
* CVE Reference(s)

http://secunia.com/advisories/45648/

ONLY AVAILABLE IN CUSTOMER AREA:
* Authentication Level
* Report Reliability
* Secunia PoC
* Secunia Analysis
* Systems Affected
* Approve Distribution
* Remediation Status
* Secunia CVSS Score
* CVSS

https://ca.secunia.com/?page=viewadvisory&vuln_id=45648

ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI:
* AUTOMATED SCANNING

http://secunia.com/vulnerability_scanning/personal/
http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/

DESCRIPTION:
Some vulnerabilities have been reported in Ruby on Rails, which can
be exploited by malicious people to bypass certain security
restrictions, conduct cross-site scripting and HTTP response
splitting attacks, and conduct SQL injection attacks.

1) Input passed to the "quote_table_name" method is not properly
sanitised before being used in SQL queries. This can be exploited to
manipulate SQL queries by injecting arbitrary code.

2) An error within the template selection mechanism can be exploited
to force the application to render using a restricted view.

Successful exploitation requires that the application uses "action:"
within its routes.

Note: This vulnerability only affects version 3.0.0 and later.

3) The content type handling does not properly sanitise certain input
before returning it to the user. This can be exploited to insert
arbitrary HTTP headers, which are included in a response sent to the
user.

Note: This vulnerability only affects version 2.3.x.

4) The "strip_tags" function does not properly sanitise certain
input, which can be exploited to execute arbitrary HTML and script
code in a user's browser session in context of an affected site.

5) The escaping mechanism does not properly handle certain Unicode
sequences, which can be exploited to bypass the escaping mechanism
and e.g. conduct cross-site scripting attacks.

SOLUTION:
Update to version 2.3.14 or 3.0.10.

PROVIDED AND/OR DISCOVERED BY:
1) Reported by the vendor.

The vendor credits:
2) Jan M. Faber, supersaas
3) Brent Miller, New Relic
4) Sascha Depold
5) Akira Matsuda and Falk Köppe

ORIGINAL ADVISORY:
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/6a1e473744bc389b
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/3420ac71aed312d6
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/6ffc93bde0298768
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b9130749b74ea12
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/56bffb5923ab1195

OTHER REFERENCES:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/

DEEP LINKS:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/

EXTENDED DESCRIPTION:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/

EXTENDED SOLUTION:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/

EXPLOIT:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
private users keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Login or Register to add favorites

File Archive:

June 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jun 1st
    10 Files
  • 2
    Jun 2nd
    16 Files
  • 3
    Jun 3rd
    15 Files
  • 4
    Jun 4th
    0 Files
  • 5
    Jun 5th
    0 Files
  • 6
    Jun 6th
    0 Files
  • 7
    Jun 7th
    0 Files
  • 8
    Jun 8th
    0 Files
  • 9
    Jun 9th
    0 Files
  • 10
    Jun 10th
    0 Files
  • 11
    Jun 11th
    0 Files
  • 12
    Jun 12th
    0 Files
  • 13
    Jun 13th
    0 Files
  • 14
    Jun 14th
    0 Files
  • 15
    Jun 15th
    0 Files
  • 16
    Jun 16th
    0 Files
  • 17
    Jun 17th
    0 Files
  • 18
    Jun 18th
    0 Files
  • 19
    Jun 19th
    0 Files
  • 20
    Jun 20th
    0 Files
  • 21
    Jun 21st
    0 Files
  • 22
    Jun 22nd
    0 Files
  • 23
    Jun 23rd
    0 Files
  • 24
    Jun 24th
    0 Files
  • 25
    Jun 25th
    0 Files
  • 26
    Jun 26th
    0 Files
  • 27
    Jun 27th
    0 Files
  • 28
    Jun 28th
    0 Files
  • 29
    Jun 29th
    0 Files
  • 30
    Jun 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close