exploit the possibilities

swstack.txt

swstack.txt
Posted May 31, 2000
Authored by Sectorx | Site xorteam.cjb.net

Simple Web Server 0.5.1 stack overflow advisory. Allows eip to be overwritten.

tags | exploit, web, overflow
MD5 | a67c189a2cdb64f9d3132fdcf0e8bd65

swstack.txt

Change Mirror Download
             
Simple Web Server 0.5.1 bug report
==================================

I have recently noticed an interesting bug in Simple Web Server 0.5.1, while
browsing around various http daemon codes. apperantly sws uses a small routine
that adds your socket input, char by char, into an array of strings
(see request.c->get_request(), line 154). though it doesnt do and bound
checking and keeps on strncat()'ing beyond the string, until %eip.

Core was generated by `xxxxxxxxxxx'. :-)
(gdb) info registers
eax 0xbffffbf5 -1073742859
ecx 0xbfffffff -1073741825
edx 0xa78 2680
ebx 0xbfffc925 -1073755867
esp 0xbfffbee8 0xbfffbee8
ebp 0xbfffbef4 0xbfffbef4
esi 0xbffffbf4 -1073742860
edi 0xbfffc925 -1073755867
eip 0x4007863f 0x4007863f

As you can see, %eip is partly overwritten (0x400_78_63f), which makes the
process lay off course and die. I have already mailed the author and
hoping to see this getting fixed soon.
by the way - if any of you find any use for this please let me know :-)

--SectorX <sectorx@digitalphobia.com> of XOR <http://xorteam.cjb.net>
Login or Register to add favorites

File Archive:

December 2021

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close