The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a database and tools to fix them.

computer vulnerability bulletin CVE-2013-0256

Ruby: Cross Site Scripting via RDoc

Synthesis of the vulnerability

When an HTML document was generated by Ruby RDoc, an attacker can trigger a Cross Site Scripting via the darkfish.js script.
Impacted products: openSUSE, RHEL, Unix (platform).
Severity: 2/4.
Creation date: 07/02/2013.
Identifiers: BID-57785, CVE-2013-0256, openSUSE-SU-2013:0303-1, openSUSE-SU-2013:0376-1, RHSA-2013:0686-01, RHSA-2013:0728-01, VIGILANCE-VUL-12388.

Description of the vulnerability

The Ruby RDoc tool generates HTML documentation.

The highlightTarget() function of the darkfish.js file highlights words associated to the visited anchor. However, the name of the anchor is directly used without being filtered.

When an HTML document was generated by Ruby RDoc, an attacker can therefore trigger a Cross Site Scripting via the darkfish.js script.
Complete Vigil@nce bulletin.... (free trial)

Computer vulnerabilities tracking service

Vigil@nce provides a computer vulnerability announce. The Vigil@nce team tracks computer vulnerabilities impacting systems and applications. The Vigil@nce vulnerability database contains several thousand vulnerabilities. The Vigil@nce security watch publishes vulnerability bulletins about threats impacting the information system.