DB2 Crack Lets in Attackers Without Database Credentials

DB2 Crack Lets in Attackers Without Database Credentials

Written By
Lisa Vaas
Lisa Vaas
Jun 12, 2006
2 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Security researchers have uncovered a critical client/server protocol flaw in IBMs DB2 database.

Impervas Application Defense Center reported on June 12 that it had discovered the vulnerability—which allows any attacker with network access to the database server to bring it down or to run arbitrary code—in DB2 Version 8.

The flaws severity is magnified by the fact that an attacker doesnt need database credentials to exploit the weakness, according to Imperva.

Also, due to the fact that this is a network-level flaw, attacks slip by DB2s built-in auditing mechanism.

When requested for comment on the flaw, IBM took the opportunity to thumb its nose at archrival Oracle, whose “Unbreakable” slogan and slow patch times have gotten it into sticky PR situations in the past few years.

“IBM realizes that it is unrealistic to claim that any database is unbreakable and that code—by its very nature—may contain some flaws,” IBM engineers relayed in a statement e-mailed by a spokesperson.

“This is why the IBM development teams are continually working with various security entities throughout the industry to evaluate our code and detect any potential problems,” IBMs statement continues. “Our engineers then work to quickly address any problems with an immediate patch rather than leaving our customers exposed until the next scheduled Fixpack release.”

/zimages/1/28571.gifOracle kept users waiting weeks for the scheduled April 2006 Critical Patch Update.Click hereto read more.

IBM released a Fixpack for the flaw on May 12. IBMs APAR (Authorized Program Analysis Report) IY84096, which documents the flaw, is available along with the Fixpack on IBMs site.

According to IBMs APAR, the flaw results in a buffer overflow after a bad connect request causes memory corruption and crash.

“A malicious CONNECT or ATTACH request sent to a DB2 server may cause a buffer overflow and instance crash, resulting in a denial of service,” the APAR reads.

Affected DB2 versions include DB2 on Unix, Linux and Windows (all versions, all platforms).

According to IBM, DB2 users can disable or restrict remote access to the database server in order to effect a temporary fix. Users should disable the DB2 TCP/IP listener if not required, IBM instructs (set SVCENAME to NULL in the database manager configuration), or use a firewall to restrict connections to the DB2 TCP/IP listener port.

Editors Note: This story was updated to remove a reference to researchers who discovered the flaw in addition to Imperva. In fact, the researchers initially mentioned are Imperva researchers.

/zimages/1/28571.gifCheck out eWEEK.coms for the latest database news, reviews and analysis.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.