[UNIX] Hewlett-Packard HP-UX SLSd Arbitrary File Creation Vulnerability



The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html

- - - - - - - - -



Hewlett-Packard HP-UX SLSd Arbitrary File Creation Vulnerability
------------------------------------------------------------------------


SUMMARY

Hewlett-Packard's HP-UX introduced "
<http://docs.hp.com/en/B2355-90142/ch05s03.html> Single Logical Screen"
(SLS) in 1995 to facilitate using multiple graphics devices on a single
desktop. Distributed SLS, or SLS/d, extends SLS to allow the utilization
of graphics devices within multiple computer systems.

Remote exploitation of a design error within Hewlett-Packard's "SLSd"
daemon could allow an attacker to execute privileges as the superuser.

DETAILS

Vulnerable Systems:
* "SLSd_daemon" binary as shipped with HP-UX 11.11i and 10.20.
* All versions are suspected to be vulnerable.

The problem specifically exists due to a design error within the
"SLSd_daemon" RPC daemon that provides connectivity between the
distributed systems. This daemon registers itself under the RPC PROGID of
536870913 or 351456, depending on the HP-UX version. By sending a
specially crafted request, the daemon will write attacker supplied data to
an arbitrary file as the superuser.

Exploitation allows an unauthenticated attacker to gain superuser
privileges by overwriting select files such as .rhosts, cron scripts, or
other files used for authentication.

Workaround:
Employ firewalls to limit access to the affected system to reduce exposure
to this vulnerability. If you are not using Distrubuted SLS, disable the
SLSd_daemon.

Vendor Status:
Hewlett-Packard has addressed this vulnerability with HP Security Advisory
<http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=c00862809>
HPSBUX02191.

Disclosure Timeline:
* 01/30/2007 - Initial vendor notification
* 01/30/2007 - Initial vendor response
* 02/13/2007 - Coordinated public disclosure


ADDITIONAL INFORMATION

The information has been provided by iDefense.
The original article can be found at:

<http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=474>
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=474



========================================


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.