Vulnerability Name:

CVE-2013-2162 (CCN-84846)

Assigned:2013-06-08
Published:2013-06-08
Updated:2014-01-14
Summary:Race condition in the post-installation script (mysql-server-5.5.postinst) for MySQL Server 5.5 for Debian GNU/Linux and Ubuntu Linux creates a configuration file with world-readable permissions before restricting the permissions, which allows local users to read the file and obtain sensitive information such as credentials.
CVSS v3 Severity:4.0 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:1.9 Low (CVSS v2 Vector: AV:L/AC:M/Au:N/C:P/I:N/A:N)
1.4 Low (Temporal CVSS v2 Vector: AV:L/AC:M/Au:N/C:P/I:N/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
2.1 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:N/A:N)
1.6 Low (CCN Temporal CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:N/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-362
Vulnerability Consequences:Obtain Information
References:Source: MISC
Type: Exploit
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711600

Source: MITRE
Type: CNA
CVE-2013-2162

Source: CCN
Type: Debian Web site
mysql-server package

Source: MLIST
Type: UNKNOWN
[oss-security] 20130608 Re: CVE request: Debian's package "mysql-server" leaks credential information

Source: SECUNIA
Type: Vendor Advisory
54300

Source: UBUNTU
Type: Vendor Advisory
USN-1909-1

Source: DEBIAN
Type: UNKNOWN
DSA-2818

Source: DEBIAN
Type: DSA-2818
mysql-5.5 -- several vulnerabilities

Source: CCN
Type: oss-sec Mailing List: Sat, 08 Jun 2013
CVE request: Debian's package "mysql-server" leaks credential information

Source: BID
Type: UNKNOWN
60424

Source: CCN
Type: BID-60424
Debian mysql-server CVE-2013-2162 Insecure File Creation Vulnerability

Source: XF
Type: UNKNOWN
debian-mysqlserver-cve20132162-info-disc(84846)

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2013-2162

Vulnerable Configuration:Configuration 1:
  • cpe:/o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:12.04:-:lts:*:*:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:13.04:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.mitre.oval:def:18397
    P
    USN-1909-1 -- mysql-5.5, mysql-dfsg-5.1 vulnerabilities
    2014-06-30
    oval:org.mitre.oval:def:20803
    P
    DSA-2818-1 mysql-5.5 - several
    2014-06-23
    oval:com.ubuntu.precise:def:20132162000
    V
    CVE-2013-2162 on Ubuntu 12.04 LTS (precise) - low.
    2013-08-19
    BACK
    canonical ubuntu linux 10.04 -
    canonical ubuntu linux 12.04 -
    canonical ubuntu linux 12.10
    canonical ubuntu linux 13.04