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.
Mirco$shaft does it again, hard and dry.
When it's true, predictable (the SQL server vulnerability, not the comment), negative, and about Microsoft, it's somehow "Flamebait". The M$ users must have a convoluted psychology to accommodate the "true" part of that description.
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.
dammit i was hopping that would be the workaround for once.
in fairness, it seams to only affect you if you dont properly parse the sql input from a web application, so if the attacker is using this exploit they are already 'in'.
IranAir Flight 655 never forget!
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.
The summary says:
The article says:
Either the article has changed since the summary was posted, or Timothy needs some remedial reading courses.
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.
Comment removed based on user account deletion
Patch available here.
I've abandoned my search for truth; now I'm just looking for some useful delusions.
So if you've been keeping your software up-to-date then no problem.
http://news.softpedia.com/news/Microsoft-SQL-Server-2005-Service-Pack-3-SP3-100153.shtml
The third service pack for SQL Server 2005 went live on December 15, 2008. Microsoft indicated that the release was designed to upgrade all service levels of SQL Server 2005 to Service Pack 3, as the services packed for the 2005 version of the database solution were cumulative. Users of the following SKUs of SQL Server 2005: Enterprise; Enterprise Evaluation; Developer; Standard; and Workgroup, are now able to make the jump to SP3. The software company emphasized that the focus with SP3 was to deliver all the hotfixes for SQL Server 2005 in a single package, but also to address various issues across the solution, in accordance with the user input.
"Microsoft released SQL Server 2005 Service Pack 3 (SP3). SQL 2005 version should now be 9.00.4035. Microsoft SQL Server 2005 Service Pack 3 (SP3) contains hotfixes that were included in cumulative update packages for SQL Server 2005 Service Pack 2 from cumulative update package 1 to cumulative update package 9, and fixes to issues that have been reported through our customer feedback platforms. It also includes supportability enhancements and issues that have been reported through Windows Error Reporting," Christophe Fiessinger, senior technical product manager for Microsoft Office Project Server, explained.
At the same time, Microsoft has taken the SQL Server 2005 Database Engine, Notifications Services, Replication and Reporting Services to the next level. Having released SP3 in 32-bit, 64-bit and IA64 flavors, Microsoft informed that the x86 version of the refresh was capable of upgrading 32-bit instances of SQL Server 2005 running on Windows-on-Windows 64 x86 emulation mode on a x64 system, this in addition to the 32-bit versions of the Windows operating systems. For the 64-bit instance of SQL Server 2005, users will have to turn to the 64-bit variant of SP3, and the same is valid for IA64.
FYI - My dentist's web site has been hijacked by a redirect to some site that tries to install trojans/viruses, and a local government website has been listed by google as an attack site... I called the county office, but with eggnog in the air, not much of a response. Luckily I was using my Mac when I browsed... Not sure if these two examples are linked to this SQL exploit, but it seems suspicious. YES WE DID! (not patch, or use Linux)
"Let us raise a standard to which the wise and honest can repair" - George Washington
"By calling the extended stored procedure sp_replwritetovarbin, and supplying several uninitialized variables as parameters, it is possible to trigger a memory write to a controlled location. Depending on the underlying Windows version, it is / may be possible to use this vulnerability to execute arbitrary code in the context of the vulnerable SQL server process. In a default configuration, the sp_replwritetovarbin stored procedure is accessible by anyone. The vulnerability can be exploited by an authenticated user with a direct database connection, or via SQL injection in a vulnerable web application." Not that I don't think it's still shady ... but... there really isn't a danger here unless you have a user that is already authenticated and can execute stored procedures or are vulnerable to a SQL injection. So you either pissed off the local nerd or you're a complete f*cktard and can't write a proper app... Either way you deserve what's comin!
Eye for an eye and half of the world will have just one eye!