Secunia Security Advisory - A weakness has been reported in Ruby on Rails, which can be exploited by malicious people to conduct cross-site scripting or script insertion attacks.
54ea0758339c1732ae0e5c788897c526cc846767badd7a5102dd9e8a4fa800d4
----------------------------------------------------------------------
Join Secunia @ FIRST Conference, 12-17 June, Hilton Vienna, Austria
See to the presentation "The Dynamics and Threats of End-Point Software Portfolios" by Secunia's Research Analyst Director, Stefan Frei.
Read more:
http://conference.first.org/
----------------------------------------------------------------------
TITLE:
Ruby on Rails Safe Buffer Cross-Site Scripting Weakness
SECUNIA ADVISORY ID:
SA44789
VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/44789/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=44789
RELEASE DATE:
2011-06-08
DISCUSS ADVISORY:
http://secunia.com/advisories/44789/#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/44789/
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=44789
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:
A weakness has been reported in Ruby on Rails, which can be exploited
by malicious people to conduct cross-site scripting or script
insertion attacks.
The weakness is caused due to certain methods (e.g. "link_to",
"sub!") not properly honoring the "HTML safe" mark for strings, which
can lead to e.g. improperly sanitised input being returned to the
user. This can be exploited to execute arbitrary HTML and script code
in a user's browser session in context of an affected site.
The weakness is reported in versions 3.0.7 and 2.3.11. Other versions
may also be affected.
SOLUTION:
Update to version 3.0.8 and 2.3.12 (with the rails_xss plugin).
PROVIDED AND/OR DISCOVERED BY:
The vendor credits Bruno Michel, LinuxFr.org and Brett Valantine.
ORIGINAL ADVISORY:
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2e516e7acc96c4fb
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.
----------------------------------------------------------------------