Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Nessus: plugins

Broken cipher list retrieval in plugins 26928, 31705

 

 

Nessus plugins RSS feed   Index | Next | Previous | View Threaded


nnposter at users

Dec 31, 2008, 8:35 AM

Post #1 of 2 (2573 views)
Permalink
Broken cipher list retrieval in plugins 26928, 31705

Plugins ssl_anon_ciphers.nasl and ssl_weak_supported_ciphers.nasl
obtain the list of supported SSL ciphers via get_kb_list(). Both of
these plugins are currently broken because they do not flatten the
cipher hash before testing for its emptiness with max_index(). This
causes the plugins to terminate early due to perceived lack of data.

The following patch resolves the issue:

--- ssl_anon_ciphers.nasl.orig 2008-03-28 10:16:44.000000000 -0400
+++ ssl_anon_ciphers.nasl 2008-12-30 12:50:56.000000000 -0500
@@ -57,7 +57,7 @@
port = get_kb_item("Transport/SSL");
if (!port || !get_port_state(port)) exit(0);

-supported_ciphers = get_kb_list("SSL/Ciphers/"+port);
+supported_ciphers = make_list(get_kb_list("SSL/Ciphers/"+port));
if (isnull(supported_ciphers) || max_index(supported_ciphers) == 0) exit(0);


--- ssl_weak_supported_ciphers.nasl.orig 2008-07-30 21:35:13.000000000 -0400
+++ ssl_weak_supported_ciphers.nasl 2008-12-30 12:44:58.000000000 -0500
@@ -56,7 +56,7 @@
port = get_kb_item("Transport/SSL");
if (!port || !get_port_state(port)) exit(0);

-supported_ciphers = get_kb_list("SSL/Ciphers/"+port);
+supported_ciphers = make_list(get_kb_list("SSL/Ciphers/"+port));
if (isnull(supported_ciphers) || max_index(supported_ciphers) == 0) exit(0);



Cheers,
nnposter
_______________________________________________
Plugins-writers mailing list
Plugins-writers [at] list
http://mail.nessus.org/mailman/listinfo/plugins-writers


theall at tenablesecurity

Jan 2, 2009, 7:11 AM

Post #2 of 2 (2399 views)
Permalink
Re: Broken cipher list retrieval in plugins 26928, 31705 [In reply to]

On Dec 31, 2008, at 11:35 AM, nnposter [at] users wrote:

> Plugins ssl_anon_ciphers.nasl and ssl_weak_supported_ciphers.nasl
> obtain the list of supported SSL ciphers via get_kb_list(). Both of
> these plugins are currently broken because they do not flatten the
> cipher hash before testing for its emptiness with max_index(). This
> causes the plugins to terminate early due to perceived lack of data.

Thanks for reporting the issue. I've updated the plugins; the changes
should become available in a couple of hours.

George
--
theall [at] tenablesecurity



_______________________________________________
Plugins-writers mailing list
Plugins-writers [at] list
http://mail.nessus.org/mailman/listinfo/plugins-writers

Nessus plugins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.