Re: sql 2005 vulnerability hello overflow?



To piggyback on Mr. Smith, for some reason Nessus is thinking it's a SQL Server 2000 box because the following is in the NASL to test for the vulnerability:

version = get_kb_item("mssql/SQLVersion");
if(version)
{
if(!ereg(pattern:"^8\.00\.(0?[0-5][0-9][0-9]|0?6[0-5][0-9]|66[0-4])",
string:version))exit(0);
}

Note the regex pattern which is supposed to only filter for SQL Server version 8.00.x, meaning SQL Server 2000. Your security folks can confirm this here:

http://www.nessus.org/plugins/index.php?view=viewsrc&id=11067



K. Brian Kelley, brian underscore kelley at sqlpass dot org
http://www.truthsolutions.com/



we have built a new w2003 sp2, sql 2005 sp2 with hotfix server.
Scanning with Nexus tells us it is vulnerable to the hello overflow,
CVE-2002-1123. How can I find out for certain whether the server is
vulnerable or not? need to be able to show documentation to our
security guy b4 can go into production. Thanks VERY much.

The remote MS SQL server is vulnerable to the Hello overflow.

An attacker may use this flaw to execute commands against the remote
host as LOCAL/SYSTEM, as well as read your database content.

*** This alert might be a false positive.

Solution : Install Microsoft Patch Q316333 at
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q316333&sd=tec
h
or disable the Microsoft SQL Server service or use a firewall to
protect the
MS SQL port (1433).
Risk factor : High
CVE : CVE-2002-1123
BID : 5411
Other references : IAVA:2002-B-0007, OSVDB:10132
Nessus ID : 11067


.



Relevant Pages

  • [NT] SQL Server 2000 Buffer Overflows and SQL Injection Vulnerabilities
    ... allow maintenance and other operations to be performed on a SQL Server, ... fixed database role can run this command. ... Buffer Overrun Vulnerability in Database Consistency Checkers: ... privileges, and only should be granted to trusted users. ...
    (Securiteam)
  • [NT] Cumulative Patch for SQL Server
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... released patches for SQL Server 2000. ... * A buffer overrun vulnerability in a procedure used to encrypt SQL ... An attacker who was able to successfully ...
    (Securiteam)
  • [NT] Another Cumulative Patch for SQL Server Released
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... previously released patches for SQL Server 7.0, SQL Server 2000, and ... malformed login request to an affected server, an attacker could either ... * A buffer overrun vulnerability that occurs in one of the Database ...
    (Securiteam)
  • SecurityFocus Microsoft Newsletter #96
    ... MICROSOFT VULNERABILITY SUMMARY ... W3C Jigsaw Device Name Path Disclosure Vulnerability ... Microsoft SQL Server 2000 Incorrect Registry Key Permissions... ... Mirabilis ICQ Sound Scheme Remote Configuration Modification Vulnerability ...
    (Focus-Microsoft)
  • [NT] SQL Server Text Formatting Functions Suffer from Buffer Overflows
    ... SQL Server 7.0 and 2000 provide a number of functions that enable database ... The second vulnerability results because of a format string vulnerability ... installed on Windows NT 4.0, Windows 2000, or Windows XP. ... An attacker could exploit the vulnerabilities in either of two ways. ...
    (Securiteam)