MS08-040: Microsoft SQL Server Multiple Privilege Escalation (941203) (uncredentialed check)

High Nessus Plugin ID 34311

Synopsis

The remote SQL server is affected by multiple vulnerabilities.

Description

The remote host is running a version of Microsoft SQL Server, Desktop Engine, or Internal Database that is affected by multiple vulnerabilities :

- An information disclosure vulnerability exists due to improper initialization of memory pages when reallocating memory. An unauthenticated, remote attacker can exploit this to obtain database contents, resulting in the disclosure of sensitive information.
(CVE-2008-0085)

- A remote code execution vulnerability exists due to a buffer overflow condition in the convert() function. An authenticated, remote attacker can exploit this, via a crafted SQL expression, to execute arbitrary code.
(CVE-2008-0086)

- A remote code execution vulnerability exists due to an unspecified buffer overflow condition. An authenticated, remote attacker can exploit this, via a crafted insert statement, to execute arbitrary code. (CVE-2008-0086)

- A remote code execution vulnerability exists due to an integer underflow condition. An authenticated, remote attacker can exploit this, via an SMB or WebDAV pathname for an on-disk file with a crafted record size value, to cause a heap-based buffer overflow, resulting in the execution of arbitrary code. (CVE-2008-0107)

Solution

Microsoft has released a set of patches for SQL Server 7, 2000, and 2005.

See Also

https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2008/ms08-040

Plugin Details

Severity: High

ID: 34311

File Name: smb_kb941203.nasl

Version: 1.28

Type: remote

Agent: windows

Family: Windows

Published: 2008/09/29

Updated: 2018/11/15

Dependencies: 10144

Configuration: Enable paranoid mode

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:microsoft:windows, cpe:/a:microsoft:sql_server

Required KB Items: Settings/ParanoidReport

Exploit Available: false

Exploit Ease: No known exploits are available

Reference Information

CVE: CVE-2008-0085, CVE-2008-0086, CVE-2008-0106, CVE-2008-0107

BID: 30082, 30083, 30118, 30119

MSFT: MS08-040

MSKB: 941203

CWE: 119, 189, 200