Ticket #8 (new defect)

Opened 1 year ago

Last modified 6 months ago

segfault due to typo in nepenthes.conf

Reported by: andreas@bunten.de Assigned to: common
Priority: minor Component: nepenthes
Keywords: Cc:

Description

Current version (subversion) of nepenthes crashed with a segfault while starting in nepenthes::ModuleManager::Init line 120.

This was triggered by a missing '""' in the nepenthes.conf file, where this was found on a line:

"vulnsav.so", ""

Instead of:

"vulnsav.so", "", ""

[ debug net handler ] Success binding Port 80 [ debug net ] Socket TCP (bind) 0.0.0.0:0 -> 0.0.0.0:80

Adding DialogueFactory? ASN1 Dialogue Factory

[ debug net ] Socket TCP (bind) 0.0.0.0:0 -> 0.0.0.0:445

DialogueFactory? dcom vuln Factory creating dialogues waiting for dcom DialogueFactory? LSASSDialogue Factory creates dialogues to emulate lsass DialogueFactory? PNPDialogue Factory creates dialogues to emulate MS05-039 Adding DialogueFactory? ASN1 Dialogue Factory

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1076324032 (LWP 24492)] 0x08054e32 in nepenthes::ModuleManager::Init (this=0x8076910) at ModuleManager?.cpp:120 120 if (strlen(sList[i]) > 0) (gdb) bt #0 0x08054e32 in nepenthes::ModuleManager::Init (this=0x8076910) at ModuleManager?.cpp:120 #1 0x080575b0 in nepenthes::Nepenthes::run (this=0x8075008, argc=7, argv=0xbf8df164) at Nepenthes.cpp:532 #2 0x080566a1 in main (argc=7, argv=0xbf8df164) at Nepenthes.cpp:1440 (gdb)

Attachments

Change History

(in reply to: ↑ description ) 02/09/08 19:35:28 changed by anonymous

Replying to andreas@bunten.de:

Current version (subversion) of nepenthes crashed with a segfault while starting in nepenthes::ModuleManager::Init line 120. This was triggered by a missing '""' in the nepenthes.conf file, where this was found on a line: "vulnsav.so", "" Instead of: "vulnsav.so", "", "" [ debug net handler ] Success binding Port 80 [ debug net ] Socket TCP (bind) 0.0.0.0:0 -> 0.0.0.0:80 Adding DialogueFactory? ASN1 Dialogue Factory [ debug net ] Socket TCP (bind) 0.0.0.0:0 -> 0.0.0.0:445 DialogueFactory? dcom vuln Factory creating dialogues waiting for dcom DialogueFactory? LSASSDialogue Factory creates dialogues to emulate lsass DialogueFactory? PNPDialogue Factory creates dialogues to emulate MS05-039 Adding DialogueFactory? ASN1 Dialogue Factory Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1076324032 (LWP 24492)] 0x08054e32 in nepenthes::ModuleManager::Init (this=0x8076910) at ModuleManager?.cpp:120 120 if (strlen(sList[i]) > 0) (gdb) bt #0 0x08054e32 in nepenthes::ModuleManager::Init (this=0x8076910) at ModuleManager?.cpp:120 #1 0x080575b0 in nepenthes::Nepenthes::run (this=0x8075008, argc=7, argv=0xbf8df164) at Nepenthes.cpp:532 #2 0x080566a1 in main (argc=7, argv=0xbf8df164) at Nepenthes.cpp:1440 (gdb)


Add/Change #8 (segfault due to typo in nepenthes.conf)