Quantcast

Mail Server Flaw Could Spawn Slammer II

Patch released for Sendmail hole, found by security team.

Paul Roberts, IDG News Service

  • 0 Yes
  • 0 No

A security vulnerability in one of the most common e-mail server software packages could have wide-ranging impact, akin to the Microsoft SQL Server vulnerability that spawned the recent Slammer worm, according to an advisory by Internet Security Systems.

The buffer overflow vulnerability is found in a number of versions of the open-source Sendmail Mail Transfer Agent (MTA), ranging from the most recent release of that software to versions that first appeared in the late 1980s, according to the advisory published Monday. The vulnerability could allow a remote attacker to gain "root" (superuser) access to a Sendmail server, ISS representatives say.

Sendmail is the most popular Unix-based implementation of the Simple Mail Transfer Protocol (SMTP), which is used to transmit e-mail messages. Predating the modern Internet itself, Sendmail is used to process incoming e-mail messages.

Flaw Described

A vulnerability exists in the software code that is used to evaluate whether addresses in the header field of an e-mail message are valid, according to ISS.

Attackers who understand the vulnerability could compromise a server by sending an e-mail message with an improperly formatted message header, the security firm says. This would cause a buffer overflow that would enable the attacker to place and execute malicious code on the server.

What makes the new vulnerability particularly pernicious is that attackers need to know little about the server they are attacking other than its Internet address, according to Dan Ingevaldson, team leader of X-Force research and development at ISS.

"It's quite a dangerous vulnerability because an exploit could be contained in the e-mail message itself. The attacker doesn't need to set up an elaborate system to launch the attack. They could just send an e-mail message to a server, and if the server is vulnerable the attack would be launched," Ingevaldson said.

While the vulnerability requires sophisticated knowledge of the Sendmail program to understand and exploit, it could still be quickly leveraged by hackers in the form of a Slammer-like worm, according to Ingevaldson.

Part of the reason for that is that, as an open-source product, the Sendmail source code and the new patch code are visible to hackers as well as e-mail server administrators. The recently released patch will immediately flag vulnerable areas of the Sendmail code.

Once the vulnerability is understood and an exploit is developed, it would be easy work to join that exploit to an engine that scans for messaging servers, creating a fast-spreading and dangerous new worm, Ingevaldson said.

"There are only a handful of services that firewalls are powerless to block. Things like DNS (domain name system), e-mail, and Web have to be exposed--just hanging out on the open Internet and taking anything that comes to them," Ingevaldson said.

Cooperative Patch Job

ISS discovered the vulnerability in late 2002, according to Ingevaldson. The company "sat on it for a little bit," eventually contacting the nonprofit group that manages the Sendmail code base in addition to commercial Sendmail vendors and the National Infrastructure Protection Center (NIPC), which is now part of the U.S. Department of Homeland Security.

As a patch was developed in the months that followed, the NIPC worked with government entities and critical infrastructure owners to make sure that those organizations got out in front of the problem.

Ingevaldson offered praise for the NIPC's efforts.

"It was a great experience. I think it's the first time something of this scale was managed in this way, and I thought it was a big success," Ingevaldson said.

Patches for the vulnerability were posted for both open source and commercial Sendmail distributions as of Monday afternoon.

The combination of freely visible source code, a severe and remotely exploitable vulnerability, and an enormous installed base of vulnerable servers makes the new Sendmail vulnerability an extremely high-value target for the hacking community, according to Ingevaldson.

That means that it is critical for affected organizations to patch their servers, Ingevaldson said.

"Once an [flaw] is published, all bets are off," Ingevaldson said. "The window of vulnerability has decreased. We've seen very robust, powerful exploits released within a few months of the [flaw] being published, so if [patching] was not a big deal before, it is now."

  • Recommend this story?
  • 0 Yes
    0 No
 

Deal Breakers

Special Offers for PC World Users

People who read this also read:

  • 15 Minutes to a Secure Business Get the Secure in 15 toolkit starting with the "15 Minutes Month-at-a-Glance" calendar. McAfee will send you additional tools and tricks to stay protected around the clock.
  • A Buyer's Guide to Data Protection Implementing data protection products and processes can be daunting. Make the right decisions by exploring what is available and what makes sense for your organization. Use this simple guide to evaluate different vendor offerings.

Sponsored Links