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.
909473a523aa2fc4ed02fdd94fc1c37f1e7f09b1125ee299d6418208acb57561
----------------------------------------------------------------------
The Secunia CSI 5.0 Beta - now available for testing
Find out more, take a free test drive, and share your opinion with us:
https://secunia.com/blog/242
----------------------------------------------------------------------
TITLE:
Ruby on Rails Multiple Vulnerabilities
SECUNIA ADVISORY ID:
SA45648
VERIFY ADVISORY:
Secunia.com
https://secunia.com/advisories/45648/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=45648
RELEASE DATE:
2011-08-20
DISCUSS ADVISORY:
https://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)
https://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
https://secunia.com/vulnerability_scanning/personal/
https://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:
https://groups.google.com/group/rubyonrails-security/browse_thread/thread/6a1e473744bc389b
https://groups.google.com/group/rubyonrails-security/browse_thread/thread/3420ac71aed312d6
https://groups.google.com/group/rubyonrails-security/browse_thread/thread/6ffc93bde0298768
https://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b9130749b74ea12
https://groups.google.com/group/rubyonrails-security/browse_thread/thread/56bffb5923ab1195
OTHER REFERENCES:
Further details available in Customer Area:
https://secunia.com/vulnerability_intelligence/
DEEP LINKS:
Further details available in Customer Area:
https://secunia.com/vulnerability_intelligence/
EXTENDED DESCRIPTION:
Further details available in Customer Area:
https://secunia.com/vulnerability_intelligence/
EXTENDED SOLUTION:
Further details available in Customer Area:
https://secunia.com/vulnerability_intelligence/
EXPLOIT:
Further details available in Customer Area:
https://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:
https://secunia.com/advisories/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
https://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.
----------------------------------------------------------------------