Users login

Create an account »


Users login

Home » Hacking News » OpenPKG SA-2003.027: sendmail buffer overflow

OpenPKG SA-2003.027: sendmail buffer overflow

by Nikola Strahija on April 2nd, 2003 Buffer overflow vulnerability has been found in all versions of Sendmail earlier than 8.12.9, which may allow remote attackers to gain root privileges.

Hash: SHA1


OpenPKG Security Advisory The OpenPKG Project
[email protected] [email protected]
OpenPKG-SA-SA-2003.027 30-Mar-2003

Package: sendmail
Vulnerability: remote root exploit
OpenPKG Specific: no

Affected Releases: Affected Packages: Corrected Packages:
OpenPKG CURRENT <= sendmail-8.12.8-20030328 >= sendmail-8.12.9-20030329
OpenPKG 1.2 <= sendmail-8.12.7-1.2.1 >= sendmail-8.12.7-1.2.2
OpenPKG 1.1 none N.A.

Dependent Packages: none

Michal Zalewski discovered [1] a confirmed [2] buffer overflow
vulnerability in all version of the Sendmail [0] MTA earlier than
8.12.9. The mail address parser performs insufficient bounds checking
in certain conditions due to a "char" to "int" data type conversion,
making it possible for an attacker to take control of the application.
Attackers may remotely exploit this vulnerability to gain "root"
access of any vulnerable Sendmail server. The Common Vulnerabilities
and Exposures (CVE) project assigned the id CAN-2003-0161 [3] to the

Please check whether you are affected by running "/bin/rpm
-q sendmail". If you have the "sendmail" package installed and its
version is affected (see above), we recommend that you immediately
upgrade it (see Solution). [4][5]

Select the updated source RPM appropriate for your OpenPKG release
[6], fetch it from the OpenPKG FTP service [7] or a mirror location,
verify its integrity [8], build a corresponding binary RPM from it [4]
and update your OpenPKG installation by applying the binary RPM [5].
For the current release OpenPKG 1.2, perform the following operations
to permanently fix the security problem (for other releases adjust

$ ftp
ftp> bin
ftp> cd release/1.2/UPD
ftp> get sendmail-8.12.7-1.2.2.src.rpm
ftp> bye
$ /bin/rpm -v --checksig sendmail-8.12.7-1.2.2.src.rpm
$ /bin/rpm --rebuild sendmail-8.12.7-1.2.2.src.rpm
$ su -
# /bin/rpm -Fvh /RPM/PKG/sendmail-8.12.7-1.2.2.*.rpm


For security reasons, this advisory was digitally signed with the
OpenPGP public key "OpenPKG " (ID 63C4CB9F) of the
OpenPKG project which you can retrieve from and
hkp:// Follow the instructions on
for details on how to verify the integrity of this advisory.

Comment: OpenPKG


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »