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

memHalfLife.txt

memHalfLife.txt
Posted Jul 12, 2004
Authored by Luigi Auriemma | Site aluigi.altervista.org

A malformed packet to a Half-Life engine will cause a denial of service when a write to a read-only memory zone occurs. Both Windows and Linux releases are affected.

tags | advisory, denial of service
systems | linux, windows
SHA-256 | 0aadb5786ecf985cde4b3895881ce8c7ae018bc807c214246e981dfe8b706fc5

memHalfLife.txt

Change Mirror Download

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

Luigi Auriemma

Application: Half-Life engine
http://half-life.sierra.com
http://www.steampowered.com
Versions: before the 07 July 2004 (both Steam and not-Steam)
Platforms: Windows and Linux
Bug: writing on a read-only memory zone causing crash
Risk: high
Exploitation: remote, versus server and client
Date: 12 July 2004
Bug found by: Terry Henning (aka Soul Beaver)
Advisory: Luigi Auriemma
e-mail: aluigi@altervista.org
web: http://aluigi.altervista.org


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


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


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

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


Half-Life is the most famous FPS game existent, no doubts.
It has been developed by Valve (http://www.valvesoftware.com) and has
been released in the far 1998, but also after all this time it
continues to be the most played game with its MODs like Counter-Strike,
Natural selection, Sven-coop and many others.
Everyday there are about 37.000 servers online!

As already specified in the header of this advisory I want to underline
that this bug has been found by Terry Henning.


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

======
2) Bug
======


The problem is a crash of the game (both servers and clients are
vulnerables) caused by a malformed packet.
Each Half-Life packet is composed by the first 8 bytes used to track
packets and to reassemble splitted data, just this second feature is
the cause of the crash because the game doesn't correctly manage the
empty splitted packets (so composed by the first 8 bytes only).
The crash is the effect of the copying of data to a read-only part of
memory (.reloc of swds.dll).

An example of malicious packet is the following:

"\xFE\xFF\xFF\xFF\x00\x00\x00\x00"

Naturally spoofing is possible.


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

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


http://aluigi.altervista.org/poc/hlboom.zip


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

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


If you use Steam you are already patched by some days.

To note that Half-Life is now supported ONLY via Steam, the half hated
or loved content management system of Valve.
The latest non-Steam patch is stopped at the 1.1.1.0 (affected by other
worst bugs) and is no longer supported.


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


---
Luigi Auriemma
http://aluigi.altervista.org
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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