OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA29454] Sun Solaris rpc.ypupdated Arbitrary Command Execution

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Fri Mar 21 2008 - 20:17:04 CDT


----------------------------------------------------------------------

A new version (0.9.0.0 - Release Candidate 1) of the free Secunia PSI
has been released. The new version includes many new and advanced
features, which makes it even easier to stay patched.

Download and test it today:
https://psi.secunia.com/

Read more about this new version:
https://psi.secunia.com/?page=changelog

----------------------------------------------------------------------

TITLE:
Sun Solaris rpc.ypupdated Arbitrary Command Execution

SECUNIA ADVISORY ID:
SA29454

VERIFY ADVISORY:
http://secunia.com/advisories/29454/

CRITICAL:
Moderately critical

IMPACT:
System access

WHERE:
From local network

OPERATING SYSTEM:
Sun Solaris 10
http://secunia.com/product/4813/

DESCRIPTION:
kcope has discovered a vulnerability in Solaris, which can be
exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to the improper handling of map names
sent via an update command to rpc.ypupdated. This can be exploited to
execute arbitrary commands on a vulnerable host via map names
containing shell escape characters.

Successful exploitation requires that rpc.ypupdated is started with
the "-i" command line switch (not used by default).

The vulnerability is confirmed in Solaris 10. Other versions may also
be affected.

SOLUTION:
Restrict access to trusted users only.

PROVIDED AND/OR DISCOVERED BY:
kcope

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/5282

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------