Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Sign up!
EnGarde Community
What is the most important Linux security technology?
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Latest Newsletters
Linux Security Week: March 30th, 2015
Linux Advisory Watch: March 27th, 2015
LinuxSecurity Newsletters
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

Mandrake: dhcpcd remote command execution vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by Team   
Mandrake A malicious administrator of the regular or an untrusted DHCP server may execute any command with root privileges on the DHCP client machine by sending the command enclosed in shell metacharacters in one of the options provided by the DHCP server.


                Mandrake Linux Security Update Advisory

Package name:           dhcpcd
Advisory ID:            MDKSA-2003:003
Date:                   January 9th, 2003

Affected versions:      7.2, 8.0, 8.1, 8.2, 9.0,
                        Multi Network Firewall 8.2, 
                        Single Network Firewall 7.2

Problem Description:

 A vulnerability was discovered by Simon Kelley in the dhcpcd DHCP
 client daemon.  dhcpcd has the ability to execute an external script
 named dhcpcd-.exe when an IP address is assigned to that
 network interface.  The script sources the file
 /var/lib/dhcpcd/ which contains shell variables
 and DHCP assignment information.  The way quotes are handled inside
 these assignments is flawed, and a malicious DHCP server can execute
 arbitrary shell commands on the vulnerable DHCP client system.  This
 can also be exploited by an attacker able to spoof DHCP responses.
 Mandrake Linux packages contain a sample /etc/dhcpc/dhcpcd.exe file
 and encourages all users to upgrade immediately.  Please note that
 when you do upgrade, you will have to restart the network for the
 changes to take proper effect by issuing "service network restart"
 as root.


Updated Packages:
 Linux-Mandrake 7.2:
 19fd3bef4b6e19c38ccb57a28cacb51c  7.2/RPMS/dhcpcd-1.3.22pl4-1.1mdk.i586.rpm
 455f213c4b06c727224880edfe8b495f  7.2/SRPMS/dhcpcd-1.3.22pl4-1.1mdk.src.rpm

 Mandrake Linux 8.0:
 af06f3b1b9084d9bbf64452a43943931  8.0/RPMS/dhcpcd-1.3.22pl4-1.1mdk.i586.rpm
 455f213c4b06c727224880edfe8b495f  8.0/SRPMS/dhcpcd-1.3.22pl4-1.1mdk.src.rpm

 Mandrake Linux 8.0/PPC:
 e4ad6b50170cb50d3f1de86ac699d07b  ppc/8.0/RPMS/dhcpcd-1.3.22pl4-1.1mdk.ppc.rpm
 455f213c4b06c727224880edfe8b495f  ppc/8.0/SRPMS/dhcpcd-1.3.22pl4-1.1mdk.src.rpm

 Mandrake Linux 8.1:
 247f8a59e8b5a524618e60c4989aec29  8.1/RPMS/dhcpcd-1.3.22pl4-1.1mdk.i586.rpm
 455f213c4b06c727224880edfe8b495f  8.1/SRPMS/dhcpcd-1.3.22pl4-1.1mdk.src.rpm

 Mandrake Linux 8.1/IA64:
 4351a669bee76dc2d700833036d7f9d7  ia64/8.1/RPMS/dhcpcd-1.3.22pl4-1.1mdk.ia64.rpm
 455f213c4b06c727224880edfe8b495f  ia64/8.1/SRPMS/dhcpcd-1.3.22pl4-1.1mdk.src.rpm

 Mandrake Linux 8.2:
 e1487443e7412ab1756ed07f61ab318b  8.2/RPMS/dhcpcd-1.3.22pl4-1.1mdk.i586.rpm
 455f213c4b06c727224880edfe8b495f  8.2/SRPMS/dhcpcd-1.3.22pl4-1.1mdk.src.rpm

 Mandrake Linux 8.2/PPC:
 9b02c61e7110675ab9d52416bf50b07f  ppc/8.2/RPMS/dhcpcd-1.3.22pl4-1.1mdk.ppc.rpm
 455f213c4b06c727224880edfe8b495f  ppc/8.2/SRPMS/dhcpcd-1.3.22pl4-1.1mdk.src.rpm

 Mandrake Linux 9.0:
 f2b6212121ea3edbed6f6e62ebb0e20d  9.0/RPMS/dhcpcd-1.3.22pl4-1.1mdk.i586.rpm
 455f213c4b06c727224880edfe8b495f  9.0/SRPMS/dhcpcd-1.3.22pl4-1.1mdk.src.rpm

 Multi Network Firewall 8.2:
 e1487443e7412ab1756ed07f61ab318b  mnf8.2/RPMS/dhcpcd-1.3.22pl4-1.1mdk.i586.rpm
 455f213c4b06c727224880edfe8b495f  mnf8.2/SRPMS/dhcpcd-1.3.22pl4-1.1mdk.src.rpm

 Single Network Firewall 7.2:
 19fd3bef4b6e19c38ccb57a28cacb51c  snf7.2/RPMS/dhcpcd-1.3.22pl4-1.1mdk.i586.rpm
 455f213c4b06c727224880edfe8b495f  snf7.2/SRPMS/dhcpcd-1.3.22pl4-1.1mdk.src.rpm

Bug IDs fixed (see for more information):

To upgrade automatically, use MandrakeUpdate.  The verification of md5
checksums and GPG signatures is performed automatically for you.

If you want to upgrade manually, download the updated package from one
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm".  A list of
FTP mirrors can be obtained from:

Please verify the update prior to upgrading to ensure the integrity of
the downloaded package.  You can do this with the command:

  rpm --checksig 

All packages are signed by MandrakeSoft for security.  You can obtain
the GPG public key of the Mandrake Linux Security Team from:

Please be aware that sometimes it takes the mirrors a few hours to

You can view other update advisories for Mandrake Linux at:

MandrakeSoft has several security-related mailing list services that
anyone can subscribe to.  Information on these lists can be obtained by

If you want to report vulnerabilities, please contact

Type Bits/KeyID     Date       User ID
pub  1024D/22458A98 2000-07-10 Linux Mandrake Security Team

< Prev   Next >


Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Yesterday's Edition
Feds Charged With Stealing Money During Silk Road Investigation
EFF questions US government's software flaw disclosure policy
Hotel Router Vulnerability A Reminder Of Untrusted WiFi Risks
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2015 Guardian Digital, Inc. All rights reserved.