Menu

Database

wepwedgie

WVE ID: WVE-2005-0055

Type: Exploit

Status: Candidate

Classification:
Cryptographic
Design Flaw

Description:
wepwedgie is a tool for determining PRGA sequences for a WEP encrypted network and injecting frames into it.

Discussion:
wepwedge consists of two programs to enable an attacker to inject traffic into a WEP encrypted network. The first program, prgasnarf is used for discovering PRGA (Psuedo Random number Generation Algorithm) and IV (Initialization Vector) combinations. The other program, wepwedgie uses the information collected with prgasnarf to inject traffic into the wireless network.

prgasnarf accomplishes its task by looking for authentication challenges and responses. When a station authenticates with a network using shared-key authentication the AP generates a random number and sends it to the station. The station then encrypts this number with the WEP key and sends the resulting ciphertext to the AP. If the AP is able to decrypt this to the random number that it initially sent, then it deduces that the client has the correct WEP key and that it should be authenticated.

A problem arises because the initial challenge is sent in the clear. When the station encrypts this plaintext it uses WEP to generate a PRGA which is then XOR-ed with the plaintext challenge to produce the ciphertext response. Because the PRGA is XOR-ed with the plaintext it is possible for an attacker who has observed the challenge to XOR it with the ciphertext sent in the response and recover the PRGA used to encrypt it.

After PRGA data has been recovered, an attacker can then use the wepwedgie program to conduct TCP & UDP portscans, ping scans, and firewall rule tests by injecting traffic into the WEP encrypted network.

It should be noted that networks using open authentication, but using WEP for encryption are not vulnerable to this type of attack because there is no challenge/response authentication in use.

Credits
Author: Anton Rager (arager@avaya.com) : Avaya

References
URL: http://standards.ieee.org/getieee802/download/802.11-1999.pdf
URL: http://sourceforge.net/projects/wepwedgie/

Released: 2003-07-01

Submitter
Andrew Lockhart (alockhart@networkchemistry.com) : Network Chemistry

Submitted: Thu Dec 01 12:52:29 -0800 2005

Candidate Date: Thu Dec 01 12:57:50 -0800 2005


Recent Entries

Weaknesses in the A5/1 Cipher
WVE-2008-0007 4/9/2008

Block ACK DoS
WVE-2008-0006 4/9/2008

GF Mode WIDS Rogue AP Evasion
WVE-2008-0005 4/9/2008

HT Intolerant Degradation of Service
WVE-2008-0004 4/9/2008

Sidejacking
WVE-2008-0003 4/2/2008

ZiPhone
WVE-2008-0002 4/2/2008

RADIUS Key Delivery Exposure
WVE-2008-0001 3/21/2008

BackTrack
WVE-2007-0020 11/19/2007

Airoscript
WVE-2007-0019 11/19/2007

airoway.sh
WVE-2007-0018 11/19/2007

More Entries...

News

SANS Institute Sponsors WVE
4/19/2008

Wireless Attackers and Honeypot Technology
4/15/2008

High Speed Risks in 802.11n Slides Posted
4/11/2008

Vulnerabilities in 802.11n
4/9/2008

WVE Editors Speaking at SHARKFEST.08
1/3/2008

More News...