Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

                      ESB-2008.0514 -- [UNIX][HP-UX]
           HP-UX Running useradd(1M), Local Unauthorized Access
                                28 May 2008


        AusCERT Security Bulletin Summary

Product:              useradd
Publisher:            Hewlett-Packard
Operating System:     HP-UX
                      UNIX specific
Impact:               Modify Arbitrary Files
Access:               Existing Account
CVE Names:            CVE-2008-1660

Comment: This advisory references vulnerabilities in products which run on
         platforms other than HP-UX. It is recommended that administrators
         running useradd check for an updated version of the software for
         their operating system.

Revision History:     May 28 2008: Corrected AFFECTED VERSIONS filesets
                      May 20 2008: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------


Document ID: c01455884
Version: 2

HPSBUX02335 SSRT071454 rev.2 - HP-UX Running useradd(1M), Local 
Unauthorized Access

NOTICE: The information in this Security Bulletin should be acted upon 
as soon as possible.

Release Date: 2008-05-26
Last Updated: 2008-05-26

Potential Security Impact: Local unauthorized access

Source: Hewlett-Packard Company, HP Software Security Response Team

A potential security vulnerability has been identified HP-UX running the 
useradd(1M) command. The vulnerability could be exploited locally to allow 
unauthorized access to directories or files.

References: CVE-2008-1660

SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed.
HP-UX B.11.11, B.11.23, B.11.31 running the useradd(1M) command


CVSS 2.0 Base Metrics 
Reference                         Base Vector               Base Score 
CVE-2008-1660     (AV:L/AC:M/Au:S/C:C/I:C/A:N)      6.0
Information on CVSS is documented in HP Customer Notice: HPSN-2008-002.


HP has made the following patches available to resolve this issue. 
The patches are available from http://itrc.hp.com 

OS Release 
 Patch ID 
HP-UX B.11.11
 PHCO_37290 or subsequent
HP-UX B.11.23
 PHCO_37291 or subsequent
HP-UX B.11.31
 PHCO_36953 or subsequent

The patches correct the useradd behavior for the following cases: 

* The /etc/default/useradd template file is missing 
* The HOMEDIR or GROUPID field is missing from the /etc/default/useradd 
template file 

All user accounts should be verified for proper GROUPID and correct 
HOMEDIR entries. 


HP-UX Software Assistant: HP-UX Software Assistant is an enhanced 
application that replaces HP-UX Security Patch Check. It analyzes all 
Security Bulletins issued by HP and lists recommended actions that may 
apply to a specific HP-UX system. It can also download patches and 
create a depot automatically. For more information see: 

The following text is for use by the HP-UX Software Assistant. 


HP-UX B.11.11 
action: install patch PHCO_37290 or subsequent, verify group id and 
home directory for all accounts 
URL: http://itrc.hp.com 

HP-UX B.11.23 
action: install patch PHCO_37291 or subsequent, verify group id and 
home directory for all accounts 
URL: http://itrc.hp.com 

HP-UX B.11.31 
action: install patch PHCO_36953 or subsequent, verify group id and 
home directory for all accounts 
URL: http://itrc.hp.com 


Version:1 (rev.1) - 19 May 2008 Initial release 
Version:2 (rev.2) - 26 May 2008 Corrected AFFECTED VERSIONS filesets 

Third Party Security Patches: Third party security patches that are 
to be installed on systems running HP software products should be 
applied in accordance with the customer's patch management policy. 

Support: For further information, contact normal HP Services support channel.

Report: To report a potential security vulnerability with any HP 
supported product, send Email to: security-alert@hp.com 
It is strongly recommended that security related information being 
communicated to HP be encrypted using PGP, especially exploit information. 
To get the security-alert PGP key, please send an e-mail message as follows:
  To: security-alert@hp.com 
  Subject: get key

Subscribe: To initiate a subscription to receive future HP Security 
Bulletins via Email: 
On the web page: ITRC security bulletins and patch sign-up 
Under Step1: your ITRC security bulletins and patches 
  - check ALL categories for which alerts are required and continue.
Under Step2: your ITRC operating systems 
  - verify your operating system selections are checked and save.

To update an existing subscription: http://h30046.www3.hp.com/subSignIn.php 
Log in on the web page: Subscriber's choice for Business: sign-in. 
On the web page: Subscriber's Choice: your profile summary - use Edit 
Profile to update appropriate sections.

To review previously published Security Bulletins visit: http://www.itrc.hp.com/service/cki/secBullArchive.do 

* The Software Product Category that this Security Bulletin relates 
to is represented by the 5th and 6th characters of the Bulletin number 
in the title: 

GN = HP General SW
MA = HP Management Agents
MI = Misc. 3rd Party SW
NS = HP NonStop Servers
PI = HP Printing & Imaging
ST = HP Storage SW
TL = HP Trusted Linux
TU = HP Tru64 UNIX
VV = HP VirtualVault
System management and security procedures must be reviewed frequently to 
maintain system integrity. HP is continually reviewing and enhancing the 
security features of software products to provide customers with current 
secure solutions.

"HP is broadly distributing this Security Bulletin in order to bring to 
the attention of users of the affected HP products the important security 
information contained in this Bulletin. HP recommends that all users 
determine the applicability of this information to their individual 
situations and take appropriate action. HP does not warrant that this 
information is necessarily accurate or complete for all user situations 
and, consequently, HP will not be responsible for any damages resulting 
from user's use or disregard of the information provided in this Bulletin. 
To the extent permitted by law, HP disclaims all warranties, either express 
or implied, including the warranties of merchantability and fitness for a 
particular purpose, title and non-infringement."

┬ęCopyright 2008 Hewlett-Packard Development Company, L.P. 

Hewlett-Packard Company shall not be liable for technical or editorial 
errors or omissions contained herein. The information provided is provided 
"as is" without warranty of any kind. To the extent permitted by law, 
neither HP or its affiliates, subcontractors or suppliers will be liable 
for incidental, special or consequential damages including downtime cost; 
lost profits; damages relating to the procurement of substitute products 
or services; or damages for loss of data, or software restoration. The 
information in this document is subject to change without notice. 
Hewlett-Packard Company and the names of Hewlett-Packard products 
referenced herein are trademarks of Hewlett-Packard Company in the United 
States and other countries. Other product and company names mentioned 
herein may be trademarks of their respective owners.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.

Comment: http://www.auscert.org.au/render.html?it=1967