Feeds

MS SQL Server multiple vulns

Get your daily fixes

  • alert
  • submit to reddit

High performance access to file storage

First up we have a trio of issues, all of which have been fixed with a single cumulative patch. There are two exploitable buffer overrun vulnerabilities, one of which allows an attacker to run arbitrary code, and a registry stuff-up enabling the SQL Server service to write to the registry and specify another account, like LocalSystem, say and have OS-like privies.

The buffer overrun in the authentication and password encryption functions would allow an attacker to execute code in the context of the service account, which the registry exploit could easily escalate. The attacker would have to log on and be able to load and run a query on the server, or be able to pass uncontrolled information into an existing query on the system. The second buffer overflow vuln exists in the bulk insert procedure, which allows data files to be copied into a table. The attacker would have to be a member of the bulk administrators group, which by default has no members. The registry problem allows for privilege escalation, but the changes won't take effect until the service is restarted.

SQL Server 2000 (all editions) and SQL Server Desktop Engine (MSDE) 2000 are affected. The MS bulletin with links to the required patch is posted here.



Next we find that the installation routine for the server and the service packs makes it possible to store unencrypted and poorly-encrypted administrator passwords in the setup.iss and log files (sqlstp.log and/or sqlsp*.log), which can be accessed by nosey third parties other than the admin.

Anyone who can log on to the machine may be able to find the SA password in clear text or ready for some trivial cracking. The fix here is to move the files to a protected directory, or delete them, or run an MS utility called killpwd.exe which will scan the files for passes and delete them.

SQL Server 7, including MSDE 1.0 and SQL Server 2000 are affected. The MS bulletin is posted here. ®

High performance access to file storage

More from The Register

next story
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
OpenSSL Heartbleed: Bloody nose for open-source bleeding hearts
Bloke behind the cockup says not enough people are helping crucial crypto project
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
US taxman blows Win XP deadline, must now spend millions on custom support
Gov't IT likened to 'a Model T with a lot of things on top of it'
prev story

Whitepapers

Mainstay ROI - Does application security pay?
In this whitepaper learn how you and your enterprise might benefit from better software security.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.