Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[NEWS] Apple Airport 802.11 Probe Response Kernel Memory Corruption

Subject: [NEWS] Apple Airport 802.11 Probe Response Kernel Memory Corruption
Date: 1 Nov 2006 19:12:25 +0200
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 

- - - - - - - - -



  Apple Airport 802.11 Probe Response Kernel Memory Corruption
------------------------------------------------------------------------


SUMMARY

 The Apple Airport driver provided with Orinoco-based Airport cards 
(1999-2003 PowerBooks, iMacs) is vulnerable to a remote memory corruption 
flaw. When the driver is placed into active scanning mode, a malformed 
probe response frame can be used to corrupt internal kernel structures, 
leading to arbitrary code execution.

DETAILS

Description:
The Apple Airport driver provided with Orinoco-based Airport cards 
(1999-2003 PowerBooks, iMacs) is vulnerable to a remote memory corruption 
flaw. When the driver is placed into active scanning mode, a malformed 
probe response frame can be used to corrupt internal kernel structures, 
leading to arbitrary code execution. This vulnerability is triggered when 
a probe response frame is received that does not contain valid information 
element (IE) fields after the fixed-length header. The data following the 
fixed-length header is copied over internal kernel structures, resulting 
in memory operations being performed on attacker-controlled pointer 
values.

Exploit:
A proof-of-concept exploit has been added to the Metasploit Framework 3.0 
source tree:
msf > use auxiliary/dos/wireless/daringphucball

Debugging information:
Tested on a 1.0Ghz PowerBook running 10.4.8 with the latest updates 
(Halloween, 2006). The fastest way to trigger this bug is to place the 
card into active scanning mode. This can be accomplished by launching 
Kismac with the active scanning driver, or by using the 'airport' utility 
provided with OS X:
$ 
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport
 -s -r 10000

Unresolved kernel trap(cpu 0): 0x300 - Data access DAR=0x000000000DEFACF7 
PC=0x00000000007A2260
Latest crash info for cpu 0:
Exception state (sv=0x3AA12A00)
PC=0x007A2260; MSR=0x00009030; DAR=0x0DEFACF7; DSISR=0x40000000; 
LR=0x007A1D48; R1=0x17443B60; XCP=0x0000000C (0x300 - Data access)
Backtrace:
0x01BC80AC 0x007A1D48 0x0079FA54 0x0079FF94 0x0079FEBC 0x002D0B94
0x002CFA5C 0x000A9314
Kernel loadable modules in backtrace (with dependencies):
com.apple.driver.AppleAirPort(3.4.4)@0x797000
dependency: com.apple.iokit.IONetworkingFamily(1.5.0)@0x5f8000
Proceeding back via exception chain:
Exception state (sv=0x3AA12A00)
previously dumped as "Latest" state. skipping...
Exception state (sv=0x31F13A00)
PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; 
LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)

Kernel version:
Darwin Kernel Version 8.8.0: Fri Sep  8 17:18:57 PDT 2006; 
root:xnu-792.12.6.obj~1/RELEASE_PPC

(gdb) showcurrentstacks
task        vm_map      ipc_space  #acts   pid  proc        command
0x01a73dd8  0x00cdaf3c  0x01a68ef0   38      0  0x003fb200  kernel_task
activation  thread      pri  state  wait_queue  wait_event
0x01a7c000  0x01a7c000   82  R
reserved_stack=0x173b0000
kernel_stack=0x17440000
stacktop=0x17443b60
0x17443b60  0x1bc80ac
0x17443be0  0x7a1d48 
0x17443c60  0x79fa54 
0x17443ce0  0x79ff94 
0x17443d90  0x79febc 
0x17443df0  0x2d0b94 
0x17443e40  0x2cfa5c 
0x17443e90  0xa9314 
stackbottom=0x17443e90

(gdb) x/3i $pc
0x7a2260 :    lbz     r8,0(r2)
0x7a2264 :    addi    r2,r2,1
0x7a2268 :    stw     r2,0(r11)

(gdb) i r $r2
r2             0xdefacf7        233811191

(gdb) x/x $r11
0x17443bb8:     0x0defacf7

(gdb) bt
#0  0x007a2260 in mhp.1762 ()
#1  0x007a1d48 in mhp.1762 ()
warning: Previous frame identical to this frame (corrupt stack?)
#2  0x007a1d48 in mhp.1762 ()
#3  0x0079fa54 in mhp.1762 ()
#4  0x0079ff94 in mhp.1762 ()
#5  0x0079febc in mhp.1762 ()
#6  0x002d0b94 in IOInterruptEventSource::checkForWork (this=0x1d80d40) at 
/SourceCache/xnu/xnu-792.12.6/iokit/Kernel/IOInterruptEventSource.cpp:196
#7  0x002cfa5c in IOWorkLoop::threadMain (this=0x1d803c0) at 
/SourceCache/xnu/xnu-792.12.6/iokit/Kernel/IOWorkLoop.cpp:267

(gdb) x/40x $r1
0x17443b60:     0x17443be0      0x22424022      0x01bc80ac      0x00000038
0x17443b70:     0x00d43c54      0x0004ffff      0x01bc81f4      0x00000210
0x17443b80:     0x02275000      0x003d8000      0x004fa418      0x00365000
0x17443b90:     0x01d803c0      0x00033e88      0x01a7c01c      0x01a7c0a4
0x17443ba0:     0x0defaced      0x01bc8000      0x0227581e      0x0defacf7
0x17443bb0:     0x00000000      0x0227581e      0x0defacf7      0x00000001
0x17443bc0:     0x00000002      0x01bc81f4      0x00000000      0x00000000
0x17443bd0:     0x17443c10      0x01a858c0      0x17443be0      0x01d80d40
0x17443be0:     0x17443c60      0x01bc81f4      0x007a1d48      0x00000000
0x17443bf0:     0x17443c20      0x00008088      0x01bc8000      0x0227581e


ADDITIONAL INFORMATION

The information has been provided by  <mailto:hdm[at]metasploit.com> H D 
Moore via the Month of Kernel Bugs advisory:  <MOKB-01-11-2006.html> 
MOKB-01-11-2006.html.
For the original exploit, visit the Metasploit project directly at:  
<http://metasploit.com/svn/framework3/trunk/modules/auxiliary/dos/wireless/daringphucball.rb>
 
http://metasploit.com/svn/framework3/trunk/modules/auxiliary/dos/wireless/daringphucball.rb



======================================== 


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: 
list-unsubscribe@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


==================== 
==================== 

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. 




<Prev in Thread] Current Thread [Next in Thread>
  • [NEWS] Apple Airport 802.11 Probe Response Kernel Memory Corruption, SecuriTeam <=