Lucene search
+L

swstack.txt

🗓️ 31 May 2000 00:00:00Reported by SectorxType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 29 Views

Bug in Simple Web Server 0.5.1 causes buffer overflow, leading to process crash.

Code
`   
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 <[email protected]> of XOR <http://xorteam.cjb.net>  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

31 May 2000 00:00Current
7.4High risk
Vulners AI Score7.4
29