Vulnerability Name:

CVE-2018-0499 (CCN-145668)

Assigned:2017-11-27
Published:2018-07-02
Updated:2018-08-28
Summary:A cross-site scripting vulnerability in queryparser/termgenerator_internal.cc in Xapian xapian-core before 1.4.6 exists due to incomplete HTML escaping by Xapian::MSet::snippet().
CVSS v3 Severity:6.1 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
5.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/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): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
6.1 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
5.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/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): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
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)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
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-2018-0499

Source: XF
Type: UNKNOWN
xapian-cve20180499-xss(145668)

Source: CCN
Type: Xapian Mailing List, Mon Jul 2 05:58:13 BST 2018
Incomplete HTML escaping by Xapian::MSet::snippet() (CVE-2018-0499) Olly Betts olly at survex.com

Source: CONFIRM
Type: Mailing List, Vendor Advisory
https://lists.xapian.org/pipermail/xapian-discuss/2018-July/009652.html

Source: CONFIRM
Type: Patch, Vendor Advisory
https://trac.xapian.org/wiki/SecurityFixes/2018-07-02

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

Source: CCN
Type: Xapian Web site
The Xapian Project

Vulnerable Configuration:Configuration 1:
  • cpe:/a:xapian:xapian-core:*:*:*:*:*:*:*:* (Version < 1.4.6)

  • Configuration 2:
  • cpe:/o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:112922
    P
    libxapian-devel-1.4.18-1.6 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106377
    P
    libxapian-devel-1.4.18-1.6 on GA media (Moderate)
    2021-10-01
    oval:com.ubuntu.artful:def:20180499000
    V
    CVE-2018-0499 on Ubuntu 17.10 (artful) - medium.
    2018-07-02
    oval:com.ubuntu.bionic:def:201804990000000
    V
    CVE-2018-0499 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-07-02
    oval:com.ubuntu.bionic:def:20180499000
    V
    CVE-2018-0499 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-07-02
    oval:com.ubuntu.xenial:def:201804990000000
    V
    CVE-2018-0499 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-07-02
    oval:com.ubuntu.trusty:def:20180499000
    V
    CVE-2018-0499 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-07-02
    oval:com.ubuntu.xenial:def:20180499000
    V
    CVE-2018-0499 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-07-02
    BACK
    xapian xapian-core *
    canonical ubuntu linux 17.10
    canonical ubuntu linux 18.04