CCProxy Logging Compoent HTTP GET Request Remote Overflow - Nessus

High   Plugin ID: 15774

This page contains detailed information about the CCProxy Logging Compoent HTTP GET Request Remote Overflow Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 15774
Name: CCProxy Logging Compoent HTTP GET Request Remote Overflow
Filename: ccproxy_overflow.nasl
Vulnerability Published: 2004-11-05
This Plugin Published: 2004-11-20
Last Modification Time: 2018-06-27
Plugin Version: 1.15
Plugin Type: remote
Plugin Family: Web Servers
Dependencies: find_service2.nasl

Vulnerability Information


Severity: High
Vulnerability Published: 2004-11-05
Patch Published: N/A
CVE [?]: CVE-2004-2416
CPE [?]: N/A

Synopsis

The remote proxy has a buffer overflow vulnerability.

Description

The version of CCProxy running on the remote host has a buffer overflow vulnerability. This issue is triggered by sending a long HTTP GET request. A remote attacker could exploit this issue to crash the service, or potentially execute arbitrary code.

Solution

Upgrade to CCProxy version 6.3 or later.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): Services/ccproxy-smtp
Exploit Available: True (Metasploit Framework, Exploit-DB)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the CCProxy Logging Compoent HTTP GET Request Remote Overflow vulnerability:

  1. Metasploit: exploit/windows/proxy/ccproxy_telnet_ping
    [CCProxy Telnet Proxy Ping Overflow]
  2. Exploit-DB: exploits/windows/remote/619.c
    [EDB-619: CCProxy Log - Remote Stack Overflow]
  3. Exploit-DB: exploits/windows/remote/4360.rb
    [EDB-4360: CCProxy 6.2 - Telnet Proxy Ping Overflow (Metasploit)]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:F/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.2 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.2 (Medium)

Go back to menu.

Plugin Source


This is the ccproxy_overflow.nasl nessus plugin source code. This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.

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


include("compat.inc");


if(description)
{
 script_id(15774);
 script_version ("1.15");
 script_cve_id("CVE-2004-2416");
 script_bugtraq_id(11666);
 script_xref(name:"EDB-ID", value:"619");
 script_xref(name:"Secunia", value:"13085");

 script_name(english:"CCProxy Logging Compoent HTTP GET Request Remote Overflow");
 script_summary(english:"Does a version check");
 
 script_set_attribute(
   attribute:"synopsis",
   value:"The remote proxy has a buffer overflow vulnerability."
 );
 script_set_attribute(attribute:"description", value:
"The version of CCProxy running on the remote host has a buffer
overflow vulnerability.  This issue is triggered by sending a long
HTTP GET request.  A remote attacker could exploit this issue to
crash the service, or potentially execute arbitrary code." );
 script_set_attribute(
   attribute:"see_also",
   value:"https://exchange.xforce.ibmcloud.com/vulnerabilities/18012"
 );
 script_set_attribute(
   attribute:"see_also",
   value:"http://www.securiteam.com/exploits/6E0032KBPM.html"
 );
 script_set_attribute(
   attribute:"solution", 
   value:"Upgrade to CCProxy version 6.3 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:F/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'CCProxy Telnet Proxy Ping Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"plugin_publication_date", value: "2004/11/20");
 script_set_attribute(attribute:"vuln_publication_date", value: "2004/11/05");
 script_cvs_date("Date: 2018/06/27 18:42:26");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();

 
 script_category(ACT_GATHER_INFO);
 script_family(english:"Web Servers");
 
 script_copyright(english:"This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.");
 
 script_dependencie("find_service2.nasl");
 script_require_ports("Services/ccproxy-smtp");
 exit(0);
}

#
# The script code starts here
#
include("smtp_func.inc");
port = get_kb_item("Services/ccproxy-smtp");
if ( ! port ) exit(0);
banner = get_smtp_banner ( port:port);
if ( egrep(pattern:"CCProxy ([0-5]\.|6\.[0-2]) SMTP Service Ready", string:banner) )
	security_hole ( port );

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/ccproxy_overflow.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\ccproxy_overflow.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/ccproxy_overflow.nasl

Go back to menu.

How to Run


Here is how to run the CCProxy Logging Compoent HTTP GET Request Remote Overflow as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Web Servers plugin family.
  6. On the right side table select CCProxy Logging Compoent HTTP GET Request Remote Overflow plugin ID 15774.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl ccproxy_overflow.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a ccproxy_overflow.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - ccproxy_overflow.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state ccproxy_overflow.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: Secunia Advisory: See also: Similar and related Nessus plugins:
  • 31654 - Apache < 1.3.37 mod_rewrite LDAP Protocol URL Handling Overflow
  • 31655 - Apache < 2.0.59 mod_rewrite LDAP Protocol URL Handling Overflow
  • 31659 - Apache < 2.2.3 mod_rewrite LDAP Protocol URL Handling Overflow
  • 11030 - Apache Chunked Encoding Remote Overflow
  • 14771 - Apache <= 1.3.33 htpasswd Local Overflow
  • 10918 - Apache-SSL < 1.3.23+1.46 i2d_SSL_SESSION Function SSL Client Certificate Overflow
  • 17241 - BadBlue ext.dll mfcisapicommand Parameter Remote Overflow
  • 22494 - ePolicy Orchestrator HTTP /spipe/pkg/ Source Header Remote Overflow
  • 11923 - Microsoft FrontPage Server Extensions (fp30reg.dll) Debug Function Remote Overflow (MS03-051 / 813360)
  • 144291 - IBM HTTP Server 7.0.0.0 < 7.0.0.33 / 8.0.0.0 < 8.0.0.9 / 8.5.0.0 < 8.5.5.2 Buffer Overflow (244199)
  • 25149 - IBM Tivoli Provisioning Manager OS Deployment Multiple Stack Overflows
  • 14843 - Icecast HTTP Header Processing Remote Overflow
  • 10657 - MS01-023: Microsoft IIS 5.0 Malformed HTTP Printer Request Header Remote Buffer Overflow (953155) (uncredentialed check)
  • 10116 - Microsoft IIS ISM.DLL HTR Request Remote Overflow
  • 11028 - Microsoft IIS .HTR Filter Multiple Overflows (MS02-028)
  • 11412 - Microsoft IIS WebDAV ntdll.dll Remote Overflow (MS03-007)
  • 11068 - iPlanet Chunked Encoding Processing Remote Overflow
  • 26057 - lighttpd mod_fastcgi HTTP Request Header Remote Overflow
  • 18424 - MiniShare Webserver HTTP GET Request Remote Overflow
  • 31786 - Apache mod_jk2 Host Header Multiple Fields Remote Overflow
  • 11809 - mod_mylo for Apache mylo_log Logging Function HTTP GET Overflow
  • 10888 - Apache mod_ssl i2d_SSL_SESSION Function SSL Client Certificate Overflow
  • 11161 - Microsoft Data Access Components RDS Data Stub Remote Overflow
  • 105359 - nginx < 1.13.3 Integer Overflow Vulnerability
  • 73519 - nginx < 1.4.7 / 1.5.12 SPDY Heap Buffer Overflow
  • 11664 - Microsoft Media Services ISAPI nsiislog.dll Multiple Overflows
  • 11183 - Null httpd Content-Length Header Handling Remote Overflow
  • 132726 - OpenSSL 1.0.2 < 1.0.2u Procedure Overflow Vulnerability
  • 132725 - OpenSSL 1.1.1 < 1.1.1e-dev Procedure Overflow Vulnerability
  • 54924 - IBM Tivoli Management Framework Endpoint addr URL Remote Buffer Overflow
  • 34781 - Oracle WebLogic Server mod_wl Invalid Parameter Remote Overflow (1150354)
  • 33932 - Oracle WebLogic Server mod_wl POST Request Remote Overflow
  • 35374 - Oracle WebLogic Server Plug-in Remote Overflow (1166189)
  • 10320 - Web Server Long URL Handling Remote Overflow DoS

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file ccproxy_overflow.nasl version 1.15. For more plugins, visit the Nessus Plugin Library.

Go back to menu.