Menu

Database

IEEE 802.11 WEP Integrity Check Vulnerability

WVE ID: WVE-2005-0016

Type: Vulnerability

Status: Candidate

Classification:
Design Flaw

Description:
The 802.11 Wired Equivalent Privacy algorithm uses CRC32 values that may fail to ensure the integrity of decrypted messages.

Discussion:
During the WEP encryption process the sender computes a CRC32 value for the plaintext to be encrypted and sent to the receiver. This value is known as the ICV (Integrity Check Value). This value is then appended to the end of the plaintext and XOR encrypted with a keystream produced by the RC4 algorithm.

Upon reception the receiver will decrypt the frame's payload by regenerating the RC4 keystream and XOR-ing it with the encrypted payload. After doing this, the receiver will then compute a CRC32 value for the plaintext generated from the received frame and compare it against the decrypted ICV. If they match, then it is assumed that the encrypted payload was not tampered with and the resulting plaintext is genuine.

The vulnerability in this method stems from the fact that the ciphertext can be XOR-ed with a delta bit pattern by an attacker to flip arbitrary bits in the decrypted plaintext. This also allows for the encrypted ICV to be modified so that its decrypted value will match the CRC32 calculated for the resulting plaintext on the receiver. Thus it is possible for an attacker to modify a message and its ICV, so that it will appear valid to the message's receiver.

Credits
Author: David Wagner (daw@cs.berkeley.edu) : UC Berkeley
Author: Eric Brewer (brewer@cs.berkeley.edu) : UC Berkeley
Author: Nikitia Borisov (nikitab@cs.berkeley.edu) : UC Berkeley
Author: Ian Goldberg (iang@cs.berkeley.edu) : UC Berkeley

References
URL: http://www.cs.berkeley.edu/~daw/papers/wep-mob01.pdf
BID: http://www.securityfocus.com/bid/2357

Released: 2001-01-30

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

Submitted: Mon Oct 24 10:47:37 -0700 2005

Candidate Date: Mon Oct 24 10:48:49 -0700 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...