Security hole in SQL lets attackers take over

A hitch in the way database connections are handled by the SQL (Structured Query Language) server could allow an attacker to hijack an administrator's connection, thus gaining administrator privileges, the company said, but added that the vulnerability only exists in servers configured for Mixed Mode authentication, a configuration type Microsoft recommends against, and can only be exploited by users who already have access to the server.

When a user ends a database session with a SQL server, the connection that has just ended is temporarily cached. However, using a special kind of server query, an attacker could exploit this flaw to restart an administrator's connection, thus gaining the administrator's access privileges, according to the bulletin. If this were to occur, the attacker could make any changes to the database, including adding, changing or deleting data, and could run code of the attacker's choice on the server, Microsoft said.

The bug is mitigated, however, due to the necessity that the server be configured for Mixed Mode authentication in order for the flaw to be useable, the company said. Mixed Mode authentication is a process by which the server attempts to authorise a user through Windows methods, but failing that uses SQL. This option is typically used on SQL servers hosted on Windows 95 and 98 systems and the company warns against it, Microsoft said.

Additionally, the bug is mitigated because the attacker would already have to be authorised by the server in order to restart a terminated connection.

The security bulletin and patch can be found at http://www.microsoft.com/technet/security/bulletin/MS01-032.asp

Join the PC World newsletter!

Error: Please check your email address.

Struggling for Christmas presents this year? Check out our Christmas Gift Guide for some top tech suggestions and more.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Sam Costello

PC World

Most Popular Reviews

Follow Us

Best Deals on GoodGearGuide

Shopping.com

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Shopping.com

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?