Secunia Logo
Netsikker nu! 2008
 
IBM AIX Multiple Privilege Escalation Vulnerabilities
Secunia Advisory: SA27437
Release Date: 2007-10-31
Last Update: 2008-09-11
Popularity: 5,600 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

OS:AIX 5.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-4217
CVE-2007-4513
CVE-2007-4621
CVE-2007-4622
CVE-2007-4623
CVE-2007-5804
CVE-2007-5805
CVE-2007-6717


Description:
Multiple vulnerabilities have been reported in IBM AIX, which can be exploited by malicious, local users to gain escalated privileges.

1) A boundary error within the sendrmt function of the bellmail program can be exploited to cause a stack-based buffer overflow and execute arbitrary code with root privileges.

2) A boundary error within the domacro function of the ftp program can be exploited to cause a stack-based buffer overflow and execute arbitrary code with root privileges.

3) A boundary error within the lquerypv utility when handling arguments to the "-V" option can be exploited can be exploited to cause a stack-based buffer overflow and execute arbitrary code with root privileges.

4) A boundary error within the lqueryvg utility when handling arguments to the "-p" option can be exploited can be exploited to cause a stack-based buffer overflow and execute arbitrary code with root privileges.

5) An integer underflow error within the dns_name_fromtext function of the dig program can be exploited to cause a heap corruption and potentially execute arbitrary code with root privileges.

6) A boundary error in the crontab program when handling command-line arguments can be exploited to cause a data segment-based buffer overflow and execute arbitrary code with root privileges.

Vulnerabilities #5 and #6 reportedly only affects version 5.2.

7) An input validation error within the swcons command when handling arguments passed to the "-p" option can be exploited by a user in the "system" group to e.g. create or modify arbitrary system files.

8) A boundary error in the tftp program can be exploited to execute arbitrary code with root privileges.

Solution:
Apply interim fixes or APARs as soon as they become available:
http://www.ibm.com/servers/eserver/support/unixservers/aixfixes.html

Interim fixes:
ftp://aix.software.ibm.com/aix/efixes/security/bellmail_ifix.tar
ftp://aix.software.ibm.com/aix/efixes/security/ftp_ifix.tar
ftp://aix.software.ibm.com/aix/efixes/security/lquerypv_ifix.tar
ftp://aix.software.ibm.com/aix/efixes/security/lqueryvg_ifix.tar
ftp://aix.software.ibm.com/aix/efixes/security/dig_ifix.tar
ftp://aix.software.ibm.com/aix/efixes/security/crontab_ifix.tar
ftp://aix.software.ibm.com/aix/efixes/security/cfgcon_ifix.tar
ftp://aix.software.ibm.com/aix/efixes/security/tftp_ifix.tar

AIX 5.2.0:
APAR IZ05066
APAR IZ05487
APAR IZ05877
APAR IZ05349
APAR IZ05017
APAR IZ04832
APAR IZ03055
APAR IZ03054

AIX 5.3.0:
APAR IZ05065/IZ05568
APAR IZ05488/IZ06075
APAR IZ05971/IZ06079
APAR IZ05129/IZ05200
APAR IZ03061/IZ02851
APAR IZ03060/IZ03392
APAR IZ05053/IZ06074

Provided and/or discovered by:
1-2) Joshua J. Drake, VeriSign iDefense Labs
3-4) Sean Larsson, VeriSign iDefense Labs
5) Anonymous researcher, reported via iDefense Labs
6) Anonymous researcher, reported via iDefense Labs
7) Alex DeLarge, reported via iDefense Labs
8) Reported by the vendor.

Changelog:
2007-11-07: Added CVE reference.
2007-12-12: Updated "Solution" section. Added APARs for AIX 5.3.0.
2008-09-11: Added CVE reference.

Original Advisory:
IBM:
http://www14.software.ibm.com/webapp/...3&topic=SECURITY&month=200710
http://www14.software.ibm.com/webapp/...2&topic=SECURITY&month=200710

iDefense Labs:
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=617
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=616
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=615
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=614
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=613
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=612
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=611


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Subdreamer Light Global Variables SQL Injection Vulnerability // 33 views
2. CA ARCserve Backup Multiple Vulnerabilities // 33 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 33 views
4. CUPS Multiple Vulnerabilities // 30 views
5. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 26 views
6. Fedora update for ruby // 23 views
7. FUJITSU Interstage Products Apache Tomcat Security Bypass // 22 views
8. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 21 views
9. Gentoo Portage Insecure Python Module Search Path Security Issue // 21 views
10. Red Hat update for cups // 20 views