Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Applications
    • Applications
    • Cybersecurity
    • IT Management
    • Servers

    Linux DHCP Client Has Remote Code Execution Flaw

    Written by

    Fahmida Y. Rashid
    Published April 7, 2011
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      A flaw in a popular open-source DHCP client software have been found that would allow attackers to remotely execute code. While it may take some time before the bug is fixed in every Linux distribution, there are steps administrators can take to mitigate the effects.

      The dhclient software does not block commands that contain meta-characters, making it possible for rogue DHCP servers on a targeted network to remotely execute malicious code, the Internet Systems Consortium said on April 5. No known exploits exist in the wild, but it is possible that attackers will now start using the bug to break into networks.

      In its advisory, ISC wrote, “dhclient doesn’t strip or escape certain shell meta characters in dhcpd responses.”

      The vulnerability exists in versions prior to 3.1-ESV-R1, 4.1-ESV-R2, and 4.2.1-P1, according to the ISC advisory (CVE-2011-0997). Attackers can compromise a DHCP server to send out malicious hostname replies containing shellcode. The dhclient executes the shellcode when processing the hostname replies using its system-level privileges on the client system.

      Administrators should upgrade to the latest versions, available from the ISC. There will be no patch available for 4.0.x as it is no longer being supported, and anyone running the 4.1.x versions should upgrade to 4.1-ESV-R2.

      The software is found in most Linux, FreeBSD, Unix and other Unix-like platforms. Even though Mac OS X is based on BSD, it uses an Apple utility called IPConfiguration.bundle as its DHCP client and is not affected by the dhclient bug. Microsoft Windows doesn’t use dhclient at all.

      Administrators can set up, or tweak existing, filters or access control lists on the network to limit clients to accessing specific DHCP servers. This will protect systems running dhclient from rogue DHCP servers on the local network sending out malicious code. However, this will not protect systems if the authorized DHCP server on the network is already compromised.

      The bug also affects the X server resource database utility from X.org, according to another advisory announced April 5. Since xrdb also evaluates hostnames sent from the DHCP server, maliciously crafted hostnames will also be passed on and executed when setting up the desktop environment.

      The xrdb bug affects machines using DHCP to set their hostname and machines allowing users to remotely login using xdmcp, according to the X.Org advisory (CVE-2011-0465).

      Administrators should also upgrade to xrdb 1.0.9, and it’s already fixed in Red Hat Linux distributions.

      There is a workaround for systems running Novell’s SUSE Linux. Administrators can turn off the hostname update by disabling the DHCLIENT_SET_HOSTNAME setting on the dhcp script. Administrators for other systems can manually edit the dhclient-script to turn off the setting.

      Short for Dynamic Host configuration Protocol, DHCP is a widely-used system for automatically assigning computers IP addreses on a network and helping administrators to keep track of those assignments. Windows, Macs, *nix all use DHCP as it’s easier than manually assigning IP addresses, especially in a large network.

      According to the ISC, dhclient is the most widely used open source DHCP client online.

      Fahmida Y. Rashid
      Fahmida Y. Rashid

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      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.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 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.