Feeds

MS SQL Server multiple vulns

Get your daily fixes

  • alert
  • submit to reddit

Boost IT visibility and business value

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. ®

Boost IT visibility and business value

More from The Register

next story
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
Mozilla keeps its Beard, hopes anti-gay marriage troubles are now over
Plenty on new CEO's todo list – starting with Firefox's slipping grasp
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Cloudy CoreOS Linux distro declares itself production-ready
Lightweight, container-happy Linux gets first Stable release
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Backing up Big Data
Solving backup challenges and “protect everything from everywhere,” as we move into the era of big data management and the adoption of BYOD.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.