---------------------------------------------------------------------- Get a tax break on purchases of Secunia Solutions! If you are a U.S. company, you may be qualified for a tax break for your software purchases. Learn more at: http://secunia.com/products/corporate/vim/section_179/ ---------------------------------------------------------------------- TITLE: Ruby on Rails Cross-Site Scripting and Cross-Site Request Forgery Vulnerabilities SECUNIA ADVISORY ID: SA43274 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/43274/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=43274 RELEASE DATE: 2011-02-10 DISCUSS ADVISORY: http://secunia.com/advisories/43274/#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/43274/ 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=43274 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 conduct cross-site scripting and cross-site request forgery attacks. 1) Input passed via e.g. the name or email value to the mail_to helper using the :encode => :javascript option is not properly sanitised before being used. This can be exploited to e.g. execute arbitrary HTML and script code in a user's browser session in context of an affected site. 2) The cross-site request forgery protection does not properly validate AJAX and API requests, which can be exploited to conduct cross-site request forgery attacks by using certain browser plugins and HTTP redirects to send cross-domain HTTP requests with spoofed headers. SOLUTION: Update to version 2.3.11 or 3.0.4 or apply patches. PROVIDED AND/OR DISCOVERED BY: The vendor credits: 1) Brendan Coles, IT Security Solutions and Rick Olson, Github. 2) Felix Gröbert, Google Security Team ORIGINAL ADVISORY: 1) http://groups.google.com/group/rubyonrails-security/browse_thread/thread/f02a48ede8315f81 2) http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2d95a3cc23e03665 http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails OTHER REFERENCES: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ DEEP LINKS: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED DESCRIPTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED SOLUTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXPLOIT: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ ---------------------------------------------------------------------- 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. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------