MS Issues Critical SQL Server Flaw Warning
silent wire writes "ZDNet is reporting on a pre-patch security advisory from Microsoft warning about an unpatched remote code execution vulnerability affecting its SQL Server line. Exploit code is publicly available so affected users should pay special attention to the workarounds from Microsoft."
Happy Holidays! Now go patch the server.
It is important to note that this isn't exploitable unless all of the following is true:
1. The database server is not patched (and the patches are not new).
2. Someone is able to connect directly to the database server.
3. That someone authenticates using a privileged user.
Honestly, if all three are true then the vulnerability isn't an unchecked parameter in a stored procedure and whatever user might as well "attack" using one of the built-in mechanisms to execute programs.
There is the argument that this can be exploited via SQL injection, but again, that means that the application is already vulnerable and using a privileged user context.
This will be exploited only in the situation where the DBA is a complete and total moron of the highest degree.
Or just don't make the database servers available on the Internet?
Follow me
Slashdot does it again with quality reporting. From the very first paragraph of the MS advisory:
"Systems with Microsoft SQL Server 7.0 Service Pack 4, Microsoft SQL Server 2005 Service Pack 3, and Microsoft SQL Server 2008 are not affected by this issue."
So it's "unpatched", unless you installed the service pack. First rate reporting here.
-- "So they told me that using the download page to download something was not something they anticipated." - Bill Gates
Linux is entirely impenetrable and never requires updates of any sort. Any database application running on Linux is completely, without question, capable of becoming self aware and defending itself from assassins known as Microsoft products. If you have ever even seen a Microsoft "product" in use then you are a complete and total buffoon, you are incapable of breathing on your own, and you do not deserve the oxygen you consume. A wet paper bag is more secure than all of Microsoft's products. Linux is built by titanium-skinned gods that were trained by magical ninja fairies. Computers running a Linux distribution do not require electricity; instead, they run on posts at Slashdot and the love felt by a community that feels that no money should ever be traded for labor or information.
There's an old joke: "Doc, it hurts when I do this." (wiggles arm) Doc replies, "Well, don't do that."
It's a joke because the patient has a reasonable expectation that he should be able to wiggle his arm, so the doc's advice doesn't really solve the problem.
If we changed the joke to, "Doc, it hurts when I hit myself in the head with a hammer and then jam a sodium hydroxide-coated piece of barbed wire up my urethra," and the doc replied, "don't do that," then it ceases to be a joke at all. The doc's line is reasonable and expected, rather than a punchline.
No wonder your admin didn't think it's funny. That's because there was no joke.
Next time, tell him, "Keep buying Microsoft products." Then he'll think it's funny.
SQL 2005 Service Pack 3 hasn't been RTM'd yet. All versions of SQL 2000 seem to be affected. This probably means that the most popular versions are affected.
If you post as Anonymous Coward, don't expect a reply.
Zero-day? Hardly. Microsoft has known about this vulnerability for quite a while. From the Sec-Consult group who first put out its advisory two weeks ago--the same time that the IE7 vulnerability came out:
20081209_mssql-sp_replwritetovarbin_memwrite.txt
Why is Microsoft dragging their feet in releasing the patch?
dammit i was hopping that would be the workaround for once.
I was hopping for a good long while too, but then my legs got really tired.