Vulnerability Name:

CVE-2013-0256 (CCN-81997)

Assigned:2012-12-06
Published:2013-02-08
Updated:2021-09-09
Summary:darkfish.js in RDoc 2.3.0 through 3.12 and 4.x before 4.0.0.preview2.1, as used in Ruby, does not properly generate documents, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL.
CVSS v3 Severity:5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
3.7 Low (Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
4.3 Medium (CCN CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
Vulnerability Consequences:Cross-Site Scripting
References:Source: CCN
Type: RDoc Releases Web Site
RDoc XSS vulnerability CVE-2013-0256 releases 3.9.5, 3.12.1, 4.0.0.rc.2

Source: MISC
Type: Third Party Advisory
http://blog.segment7.net/2013/02/06/rdoc-xss-vulnerability-cve-2013-0256-releases-3-9-5-3-12-1-4-0-0-rc-2

Source: MITRE
Type: CNA
CVE-2013-0256

Source: SUSE
Type: Mailing List, Third Party Advisory
SUSE-SU-2013:0647

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2013:0303

Source: CCN
Type: RDoc Rubyforge Web Site
RDoc Rubyforge

Source: CCN
Type: RHSA-2013-0548
Moderate: CloudForms Common 1.1.2 update

Source: REDHAT
Type: Third Party Advisory
RHSA-2013:0548

Source: CCN
Type: RHSA-2013-0686
Moderate: Subscription Asset Manager 1.2.1 update

Source: REDHAT
Type: Third Party Advisory
RHSA-2013:0686

Source: CCN
Type: RHSA-2013-0701
Moderate: ruby193-ruby, rubygem-json and rubygem-rdoc security update

Source: REDHAT
Type: Third Party Advisory
RHSA-2013:0701

Source: CCN
Type: RHSA-2013-0728
Moderate: rubygem packages security update

Source: REDHAT
Type: Third Party Advisory
RHSA-2013:0728

Source: SECUNIA
Type: Third Party Advisory
52774

Source: CONFIRM
Type: Vendor Advisory
http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/

Source: CCN
Type: BID-57785
RDoc CVE-2013-0256 Cross Site Scripting Vulnerability

Source: UBUNTU
Type: Third Party Advisory
USN-1733-1

Source: CCN
Type: Red Hat Bugzilla Bug 907820
CVE-2013-0256 rubygem-rdoc: Cross-site scripting in the documentation created by Darkfish Rdoc HTML generator / template

Source: MISC
Type: Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=907820

Source: XF
Type: UNKNOWN
rdoc-darkfish-xss(81997)

Source: CCN
Type: RDoc GIT Repository Web Site
RDoc GIT Repository

Source: CONFIRM
Type: Third Party Advisory
https://github.com/rdoc/rdoc/commit/ffa87887ee0517793df7541629a470e331f9fe60

Vulnerable Configuration:Configuration 1:
  • cpe:/a:ruby-lang:rdoc:*:*:*:*:*:ruby:*:* (Version >= 2.3.0 and < 3.12)
  • OR cpe:/a:ruby-lang:rdoc:4.0.0:preview2:*:*:*:ruby:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p286:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p383:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:26222
    P
    Security update for virglrenderer (Important) (in QA)
    2022-01-17
    oval:org.opensuse.security:def:26223
    P
    Security update for net-snmp (Important)
    2022-01-05
    oval:org.opensuse.security:def:26126
    P
    Security update for Mesa (Moderate)
    2021-09-16
    oval:org.opensuse.security:def:26115
    P
    Security update for libesmtp (Important)
    2021-09-02
    oval:org.opensuse.security:def:26114
    P
    Security update for openexr (Important)
    2021-09-02
    oval:org.opensuse.security:def:20130256
    V
    CVE-2013-0256
    2021-08-15
    oval:org.opensuse.security:def:36565
    P
    rubygem-rdoc-3.9.1-0.8.3 on GA media (Moderate)
    2021-06-08
    oval:org.opensuse.security:def:26190
    P
    Security update for MozillaFirefox (Low)
    2021-02-10
    oval:org.opensuse.security:def:26744
    P
    libexif on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26507
    P
    Security update for cacti, cacti-spine (Important)
    2020-12-01
    oval:org.opensuse.security:def:27636
    P
    Security update for OpenSSL
    2020-12-01
    oval:org.opensuse.security:def:26832
    P
    tftp on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26648
    P
    wget on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26318
    P
    Security update for MozillaThunderbird (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26890
    P
    evince on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26852
    P
    MozillaFirefox on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26456
    P
    Security update for MozillaThunderbird (Important)
    2020-12-01
    oval:org.opensuse.security:def:26234
    P
    Security update for LibreOffice (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:27563
    P
    rubygem-rdoc on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26940
    P
    libapr-util1 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26691
    P
    enscript on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26426
    P
    Security update for singularity (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26998
    P
    ofed on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26793
    P
    openswan on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26564
    P
    gzip on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:27671
    P
    Security update for rubygem-rdoc
    2020-12-01
    oval:org.opensuse.security:def:26846
    P
    xterm on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26799
    P
    pam_mount on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26399
    P
    Security update for pdns (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:27528
    P
    opie on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26901
    P
    g3utils on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26540
    P
    enscript on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26298
    P
    Security update for mariadb-100 (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26954
    P
    libltdl7 on GA media (Moderate)
    2020-12-01
    oval:org.mitre.oval:def:18251
    P
    USN-1733-1 -- ruby1.9.1 vulnerabilities
    2014-06-30
    oval:com.ubuntu.precise:def:20130256000
    V
    CVE-2013-0256 on Ubuntu 12.04 LTS (precise) - medium.
    2013-03-01
    BACK
    ruby-lang rdoc *
    ruby-lang rdoc 4.0.0 preview2
    ruby-lang ruby 1.9
    ruby-lang ruby 1.9.1
    ruby-lang ruby 1.9.2
    ruby-lang ruby 1.9.3
    ruby-lang ruby 1.9.3 p0
    ruby-lang ruby 1.9.3 p125
    ruby-lang ruby 1.9.3 p194
    ruby-lang ruby 1.9.3 p286
    ruby-lang ruby 1.9.3 p383
    ruby-lang ruby 2.0
    ruby-lang ruby 2.0.0
    ruby-lang ruby 2.0.0 rc1
    ruby-lang ruby 2.0.0 rc2
    canonical ubuntu linux 12.04
    canonical ubuntu linux 12.10