Vulnerability Name:

CVE-2020-5283 (CCN-179083)

Assigned:2020-04-01
Published:2020-04-01
Updated:2020-05-15
Summary:ViewVC before versions 1.1.28 and 1.2.1 has a XSS vulnerability in CVS show_subdir_lastmod support. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a CVS repository exposed by an otherwise trusted ViewVC instance that also has the `show_subdir_lastmod` feature enabled. The attack vector involves files with unsafe names (names that, when embedded into an HTML stream, would cause the browser to run unwanted code), which themselves can be challenging to create. This vulnerability is patched in versions 1.2.1 and 1.1.28.
CVSS v3 Severity:3.5 Low (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N)
3.4 Low (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
5.4 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:2.1 Low (CVSS v2 Vector: AV:N/AC:H/Au:S/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
5.5 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
Vulnerability Consequences:Cross-Site Scripting
References:Source: MITRE
Type: CNA
CVE-2020-5283

Source: CCN
Type: ViewVC Web site
ViewVC

Source: XF
Type: UNKNOWN
viewvc-cve20205283-xss(179083)

Source: CCN
Type: ViewVC GIT Repository
ViewVC

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8

Source: MISC
Type: Exploit, Issue Tracking, Third Party Advisory
https://github.com/viewvc/viewvc/issues/211

Source: CCN
Type: ViewVC GIT Repository
XSS vulnerability in CVS show_subdir_lastmod support

Source: CONFIRM
Type: Mitigation, Patch, Third Party Advisory
https://github.com/viewvc/viewvc/security/advisories/GHSA-xpxf-fvqv-7mfg

Source: FEDORA
Type: UNKNOWN
FEDORA-2020-c952520959

Vulnerable Configuration:Configuration 1:
  • cpe:/a:viewvc:viewvc:*:*:*:*:*:*:*:* (Version < 1.1.28)
  • OR cpe:/a:viewvc:viewvc:*:*:*:*:*:*:*:* (Version >= 1.2.0 and < 1.2.1)

  • Configuration CCN 1:
  • cpe:/a:viewvc:viewvc:1.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.0.8:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.0.10:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.10:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.11:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.5:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.6:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.7:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.8:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.9:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.12:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.13:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.14:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.15:*:*:*:*:*:*:*
  • OR cpe:/a:viewvc:viewvc:1.1.25:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:93635
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:100348
    P
    (Moderate)
    2021-11-09
    oval:org.opensuse.security:def:96431
    P
    Security update for viewvc (Moderate)
    2021-01-23
    oval:org.opensuse.security:def:11143
    P
    Security update for viewvc (Moderate)
    2021-01-23
    oval:org.opensuse.security:def:103121
    P
    Security update for viewvc (Moderate)
    2021-01-23
    oval:org.opensuse.security:def:109778
    P
    Security update for viewvc (Moderate)
    2021-01-23
    oval:org.opensuse.security:def:111043
    P
    Security update for viewvc (Moderate)
    2021-01-20
    oval:org.opensuse.security:def:11121
    P
    Security update for viewvc (Moderate)
    2021-01-19
    oval:org.opensuse.security:def:107014
    P
    Security update for viewvc (Moderate)
    2021-01-19
    oval:org.opensuse.security:def:110677
    P
    Security update for viewvc (Moderate)
    2021-01-16
    BACK
    viewvc viewvc *
    viewvc viewvc *
    viewvc viewvc 1.0.2
    viewvc viewvc 1.0.3
    viewvc viewvc 1.0.5
    viewvc viewvc 1.0.8
    viewvc viewvc 1.1.2
    viewvc viewvc 1.1.3
    viewvc viewvc 1.1.4
    viewvc viewvc 1.0.10
    viewvc viewvc 1.1.10
    viewvc viewvc 1.1.11
    viewvc viewvc 1.1.5
    viewvc viewvc 1.1.6
    viewvc viewvc 1.1.7
    viewvc viewvc 1.1.8
    viewvc viewvc 1.1.9
    viewvc viewvc 1.1.12
    viewvc viewvc 1.1.13
    viewvc viewvc 1.1.14
    viewvc viewvc 1.1.15
    viewvc viewvc 1.1.25