Lucene search

K
nessusThis script is Copyright (C) 2004-2018 Tenable Network Security, Inc.INN_CONTROL_MESSAGE_OVERFLOW.NASL
HistoryJan 08, 2004 - 12:00 a.m.

INN < 2.4.1 Control Message Handling Code Overflow

2004-01-0800:00:00
This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.
www.tenable.com
9

The remote host is running INN 2.4.0.

There is a known security flaw in this version of INN that could allow an attacker to execute arbitrary code on this server.

#
# (C) Tenable Network Security, Inc.
#

# Ref: http://www.isc.org/products/INN/


include("compat.inc");

if(description)
{
 script_id(11984);
 script_version ("1.17");
 script_cve_id("CVE-2004-0045");
 script_bugtraq_id(9382);

 script_name(english:"INN < 2.4.1 Control Message Handling Code Overflow");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by a buffer overflow vulnerability." );
 script_set_attribute(attribute:"description", value:
"The remote host is running INN 2.4.0.

There is a known security flaw in this version of INN that could allow an 
attacker to execute arbitrary code on this server." );
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2004/Jan/69" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to version 2.4.1 or later." );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

 script_set_attribute(attribute:"plugin_publication_date", value: "2004/01/08");
 script_set_attribute(attribute:"vuln_publication_date", value: "2004/01/07");
 script_cvs_date("Date: 2018/11/15 20:50:22");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();

 script_summary(english:"Checks INN version");
 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.");
 script_family(english:"Gain a shell remotely");
 script_dependencie("find_service1.nasl");
 script_require_ports("Services/nntp", 119);
 exit(0);
}




port = get_kb_item("Services/nntp");
if(!port) port = 119;

if(get_port_state(port))
{
 soc = open_sock_tcp(port);
  if(soc)
  {
    r = recv_line(socket:soc, length:1024);
    if ( r == NULL ) exit(0);
    if(ereg(string:r, pattern:"^20[0-9] .* INN 2\.4\.0 .*$"))
    {
      security_hole(port);
    }
  }
}
Related for INN_CONTROL_MESSAGE_OVERFLOW.NASL