Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2003.0185 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0303-250 SSRT3523 Sec. Vulnerabilities in Webmin/Usermin 19 March 2003 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: Webmin/Usermin ApacheStrong HPApache Vendor: Hewlett-Packard Operating System: HP-UX 11.22 HP-UX 11.20 HP-UX 11.11 HP-UX 11.00 Platform: HP9000 Impact: Root Compromise Access Required: Remote CVE Names: CAN-2003-0101 - --------------------------BEGIN INCLUDED TEXT-------------------- - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ----------------------------------------------------------------- Source: HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0303-250 Originally issued: 17 March 2003 SSRT3523 Sec. Vulnerabilities in Webmin/Usermin ----------------------------------------------------------------- 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: Potential vulnerability regarding miniserv.pl in (1) Webmin before 1.070, and (2) Usermin before 1.000 does not properly handle metacharacters such as line feeds and carriage returns (CRLF) in Base-64 encoded strings during Basic authentication, which allows remote attackers to potentially spoof a session ID and potentially gain root privileges. Note: Usermin is currently not shipped in any of the products mentioned below. More details are available at: <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0101> IMPACT: Potential to increase privileges from remote. PLATFORM: HP9000 Servers running HP-UX release 11.00, 11.11, 11.20, and 11.22 with versions of the following products are affected, and represented as: product-name, version (product-tag/bundle-tag) - hp apache-based web server, 1.3.27.00 or earlier (ApacheStrong/B9415AA) This product includes Webmin 0.980. - hp apache-based web server, 2.0.43.00 or earlier (HPApache/B9416AA, HPApache/B9416BA) This product includes Webmin 0.980. - hp-ux webmin-based admin, v.1.0.00.01 or earlier (hpuxwsWEBMIN/hpuxwsWebmin) This product includes Webmin 1.020 SOLUTION: For HP-UX releases 11.00, 11.11, 11.20 and 11.22 download new HP Apache product from <http://www.software.hp.com/>: For ApacheStrong/B9415AA download the following: - hp apache-based web server, 1.3.27.01 (ApacheStrong/B9415AA) This product includes Webmin 1.070. <http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/ cgi/displayProductInfo.pl?productNumber=B9415AA132701> For HPApache/B9416AA, HPApache/B9416BA and hpuxwsWEBMIN/hpuxwsWebmin download the following: - hp-ux webmin-based admin, v.1.0.01.01 or later (hpuxwsWebmin/hpuxwsWebmin) This product includes Webmin 1.070. <http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/ cgi/displayProductInfo.pl?productNumber=HPUXWSSUITE> NOTE: No IPv6 solution is available at this time. This Security Bulletin will be updated when such becomes available. MANUAL ACTIONS: Yes - Update Install the product containing the fix. For customers with HPApache/B9416AA or HPApache/B9416BA installed, the fix requires migration to hpuxwsWEBMIN/hpuxwsWebmin and removing the affected products from the system. AVAILABILITY: Complete product bundles are available now on <http://www.software.hp.com/> ----------------------------------------------------------------- A. Background The Common Vulnerabilities and Exposures project <http://cve.mitre.org/> has identified multiple potential vulnerabilities in the Webmin GUI Administration tool (CAN-2003-0101). It affects the following HP product numbers/versions on HP-UX releases 11.00, 11.11, 11.20 and 11.22:: - hp apache-based web server, 1.3.27.00 or earlier (ApacheStrong/B9415AA) - hp apache-based web server, 2.0.43.00 or earlier (HPApache/B9416AA, HPApache/B9416BA) - hp-ux webmin-based admin, v.1.0.00.01 or earlier (hpuxwsWEBMIN/hpuxwsWebmin) B. Recommended solution The Webmin Group has released Webmin 1.070 as the best known version that fixes the problems identified in the above mentioned issues. For customers using ApacheStrong/B9415AA, HP has incorporated Webmin 1.070 in the following products: - B9415AA: hp apache-based web server 1.3.27.01 This product includes Webmin 1.070. For customers using HPApache/B9416AA, HPApache/B9416BA and hpuxwsWEBMIN/hpuxwsWebmin, HP has incorporated Webmin 1.070 in the following products: - hpuxwsWebmin: hp-ux webmin-based admin v.1.0.01.01 or later; This product includes Webmin 1.070. NOTE: No IPv6 solution is available at this time. This Security Bulletin will be updated when such becomes available. Check for Webmin Installation ----------------------------- To determine if the Webmin GUI Administration Tool from HP is installed on your system, use Software Distributor's swlist command. Since Webmin is not visible at the "product" level for products prior to hpuxwsWEBMIN, search for Apache as well. All versions of products may co-exist on a single system. For example, the results of the commands: swlist -l product | grep -i webmin hpuxwsWEBMIN A.1.0.00.01 HP-UX Webmin-based Admin swlist -l product | grep -i apache ApacheStrong 1.3.19.21 HP Apache-based Web Server with Strong (128bit) Encryption HPApache 2.0.39.01.02 HP Apache-based Web Server In the above examples, all of these need to be updated. Stop Webmin ----------------------------- Before updating, make sure to stop any previous Webmin binary. Otherwise, the previous binary will continue running, preventing the new one from starting, although the installation would be successful. After determining which Webmin is installed, stop Webmin with the following commands: for ApacheStrong: /opt/apache/webmin/webmin-init stop for HPApache: /opt/hpapache2/webmin/webmin-init stop for hpuxwsWEBMIN: /opt/hpws/webmin/webmin-init stop Since Webmin is bundled with Apache for products prior to hpuxwsWEBMIN, Apache also needs to be stopped. for ApacheStrong: /opt/apache/bin/apachectl stop for HPApache: /opt/hpapache2/bin/apachectl stop Download and Install Webmin/Apache ----------------------------- - Download Webmin/Apache from Software Depot using the previously mentioned links. - Verify successful download by comparing the cksum with the value specified on the installation web page. - Use SD to swinstall the depot. - For customers with HPApache/B9416AA or HPApache/B9416BA installed, migrate to hpuxwsWEBMIN/hpuxwsWebmin and remove the affected products from the system. Installation of this new version of HP Apache over an existing HP Apache installation is supported, while installation over a non-HP Apache is NOT supported. Removing Webmin Installation ---------------------------- If you rather remove Webmin from your system than install a newer version to resolve the security problem, use both Software Distributor's "swremove" command and also "rm -rf" the home location as specified in the rc.config.d file "HOME" variables. To find the files containing HOME variables in the /etc/rc.config.d directory: For ApacheStrong/B9415AA, HPApache/B9416AA, and HPApache/B9416BA when removing Webmin, you will also remove Apache. %ls /etc/rc.config.d | grep apache apacheconf hpapache2conf NOTE: For HP Apache 1.3.x, you must manually remove the Apache directory in addition to the Tomcat directory. Apache is under directory "/opt/apache" for HP Apache 1.3.x. For hpuxwsWebmin/hpuxwsWebmin: %ls /etc/rc.config.d | grep webmin hpws_webminconf 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 at: http://itrc.hp.com 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. or 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: http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSecurityBulletin 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. Please note that installing the patches listed in the Security Patch Matrix will completely implement a security bulletin _only_ if the MANUAL ACTIONS field specifies "No." The Security Patch Check tool can verify that a security bulletin has been implemented on HP-UX 11.XX systems providing that the fix is completely implemented in a patch with no manual actions required. The Security Patch Check tool cannot verify fixes implemented via a product upgrade. For information on the Security Patch Check tool, see: http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/ displayProductInfo.pl?productNumber=B6834AA The security patch matrix is also available via anonymous ftp: ftp://ftp.itrc.hp.com/export/patches/hp-ux_patch_matrix/ On the "Support Information Digest Main" page: click on the "HP Security Bulletin Archive". The PGP key used to sign this bulletin is available from several PGP Public Key servers. The key identification information is: 2D2A7D59 HP Security Response Team (Security Bulletin signing only) <security-alert@hp.com> Fingerprint = 6002 6019 BFC1 BC62 F079 862E E01F 3AFC 2D2A 7D59 If you have problems locating the key please write to security-alert@hp.com. Please note that this key is for signing bulletins only and is not the key returned by sending 'get key' to security-alert@hp.com. D. To report new security vulnerabilities, send email to security-alert@hp.com 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 security-alert@hp.com. ----------------------------------------------------------------- (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. ________________________________________________________________ - - -- - -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBPnYu0OAfOvwtKn1ZEQLiVgCgu3YTEKXwu/dA2frtLRS9b7G0cnwAoPpY +qgSW/gfTWUZnaE1T4JAs5kp =zjxY - -----END PGP SIGNATURE----- - --------------------------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. 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 use any or all of this information is the responsibility of each user or organisation, and should be done so in accordance with site policies and procedures. 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: http://www.auscert.org.au/render.html?cid=1980 If you believe that your system has been compromised, contact AusCERT or your representative in FIRST (Forum of Incident Response and Security Teams). 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. -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv Comment: http://www.auscert.org.au/render.html?it=1967 iQCVAwUBPniQLyh9+71yA2DNAQHh/QP/VG66pbfulenIqzBicTKCh5zTVrYKX2I7 mBlcLG5HfVOOO5OJFYg/c8UzPmectGlYJ3jS0mSH2w6uHUiTKq2s8Cq7DQAFBzLM +UHY6Z/IUKwY1sF+ddfiZkoMkOtUbQ8l0NBBC4wbYakKZbHE9QS3u8fyFr1+pC5P pnp3a+96hW0= =3USp -----END PGP SIGNATURE-----