Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   OS (UNIX)  >   landiag Vendors:   HPE
HP-UX 'landiag' Utility Buffer Overflow May Let Local Users Gain Root Privileges
SecurityTracker Alert ID:  1006081
SecurityTracker URL:
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Feb 12 2003
Impact:   Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): HP-UX 10.X and 11.X
Description:   A buffer overflow vulnerability was reported in the '/usr/sbin/landiag' local area network (LAN) diagnostic utility for the HP-UX operating system. A local user may be able to gain root privileges.

HP reported that the utility contains potential buffer overflows. A local user may be able to cause the utility to execute arbitrary code. Because the utility is configured with set user id (setuid) root permissions, the code would run with root privileges, yielding root access to the local user.

No further details were provided.

HP credits LSD Research Group ( for reporting the flaw.

Impact:   A local user may be able to execute arbitrary code with root privileges to gain root level access on the system.
Solution:   The vendor is working on a patch. Until the patch is available, the vendor recommends that you remove the set user id (setuid) bit from the affected binary with the following command:

chmod 555 /usr/sbin/landiag

This workaround will prevent non-root users from running the binary.

Vendor URL: (Links to External Site)
Cause:   Boundary error
Underlying OS:  UNIX (HP/UX)

Message History:   None.

 Source Message Contents

Subject:  HP-UX security bulletins digest

Document ID:  HPSBUX0302-243
Date Loaded:  20030211
      Title:  SSRT3473 Potential Security Vulnerability in landiag/lanadmin</Description >

 Originally issued: 12 February 2003
 SSRT3473 Potential Security Vulnerability in landiag/lanadmin

NOTICE: There are no restrictions for distribution of this Bulletin
provided that it remains complete and intact.

The information in the following Security Bulletin should be
acted upon as soon as possible.  Hewlett-Packard Company will
not be liable for any consequences to any customer resulting
from customer's failure to fully implement instructions in this
Security Bulletin as soon as possible.

PROBLEM: There are potential buffer overflows in /usr/sbin/landiag

IMPACT:  Potential unauthorized access.

PLATFORM: HP9000 Series 700/800 running HP-UX releases
          10.X and 11.X

SOLUTION: Until patches are available change the permissions to 555.

                chmod 555 /usr/sbin/landiag
                chmod 555 /usr/sbin/lanadmin

AVAILABILITY: This bulletin will be updated when patches are
 A. Background
    There are potential buffer overflows in /usr/sbin/landiag and

    The SSRT thanks LSD Research Group ( for
    reporting this potential vulnerability to HP.

 B. Recommended solution
    Until patches are available:
      chmod 555 /usr/sbin/landiag
      chmod 555 /usr/sbin/lanadmin

    Since the suid permissions are removed the root user
    will have to run landiag and lanadmin.

 C. To subscribe to automatically receive future NEW HP Security
    Bulletins from the HP IT Resource Center via electronic
    mail, do the following:

    Use your browser to get to the HP IT Resource Center page

    Use the 'Login' tab at the left side of the screen to login
    using your ID and password.  Use your existing login or the
    "Register" button at the left to create a login, in order to
    gain access to many areas of the ITRC.  Remember to save the
    User ID assigned to you, and your password.

    In the left most frame select "Maintenance and Support".

    Under the "Notifications" section (near the bottom of
    the page), select "Support Information Digests".

    To -subscribe- to future HP Security Bulletins or other
    Technical Digests, click the check box (in the left column)
    for the appropriate digest and then click the "Update
    Subscriptions" button at the bottom of the page.


    To -review- bulletins already released, select the link
    (in the middle column) for the appropriate digest.

    NOTE: Using your itrc account security bulletins can be
          found here:

    To -gain access- to the Security Patch Matrix, select
    the link for "The Security Bulletins Archive".  (near the
    bottom of the page)  Once in the archive the third link is
    to the current Security Patch Matrix. Updated daily, this
    matrix categorizes security patches by platform/OS release,
    and by bulletin topic.  Security Patch Check completely
    automates the process of reviewing the patch matrix for
    11.XX systems.

    For information on the Security Patch Check tool, see:

    The security patch matrix is also available via anonymous

    On the "Support Information Digest Main" page:
    click on the "HP Security Bulletin Archive".

 D. To report new security vulnerabilities, send email to

    Please encrypt any exploit information using the
    security-alert PGP key, available from your local key
    server, or by sending a message with a -subject- (not body)
    of 'get key' (no quotes) to


(c)Copyright 2003 Hewlett-Packard Company
Hewlett-Packard Company shall not be liable for technical or
editorial errors or omissions contained herein. The information
in this document is subject to change without notice.
Hewlett-Packard Company and the names of HP products referenced
herein are trademarks and/or service marks of Hewlett-Packard
Company.  Other product and company names mentioned herein may be
trademarks and/or service marks of their respective owners.

-----End of Document ID:  HPSBUX0302-243--------------------------------------


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC