Lucene search
+L

CoreHTTP 'src/http.c ' Buffer Overflow Vulnerability

🗓️ 08 Dec 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 28 Views

CoreHTTP 'src/http.c ' Buffer Overflow Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
CoreHTTP web server off-by-one buffer overflow vulnerability
2 Dec 200900:00
zdt
circl
Circl
CVE-2009-3586
2 Dec 200900:00
circl
cve
CVE
CVE-2009-3586
8 Dec 200918:00
cve
cvelist
Cvelist
CVE-2009-3586
8 Dec 200918:00
cvelist
exploitdb
Exploit DB
CoreHTTP Web server 0.5.3.1 - Off-by-One Buffer Overflow
2 Dec 200900:00
exploitdb
exploitpack
exploitpack
CoreHTTP Web server 0.5.3.1 - Off-by-One Buffer Overflow
2 Dec 200900:00
exploitpack
nvd
NVD
CVE-2009-3586
8 Dec 200918:30
nvd
openvas
OpenVAS
CoreHTTP 'src/http.c ' Buffer Overflow Vulnerability
8 Dec 200900:00
openvas
packetstorm
Packet Storm
CoreHTTP 0.5.3.1 Buffer Overflow
7 Dec 200900:00
packetstorm
prion
Prion
Buffer overflow
8 Dec 200918:30
prion
Rows per page
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.100377");
  script_version("2023-07-21T05:05:22+0000");
  script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
  script_tag(name:"creation_date", value:"2009-12-08 12:57:07 +0100 (Tue, 08 Dec 2009)");
  script_cve_id("CVE-2009-3586");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_name("CoreHTTP 'src/http.c ' Buffer Overflow Vulnerability");
  script_category(ACT_MIXED_ATTACK);
  script_tag(name:"qod_type", value:"remote_analysis");
  script_family("Web Servers");
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_dependencies("gb_get_http_banner.nasl");
  script_require_ports("Services/www", 5555);
  script_mandatory_keys("corehttp/banner");

  script_tag(name:"summary", value:"CoreHTTP is prone to a buffer-overflow vulnerability because it fails
  to adequately bounds-check user-supplied data.");

  script_tag(name:"impact", value:"Attackers can exploit this issue to execute arbitrary code within the
  context of the affected application. Failed exploit attempts will
  result in a denial of service.");

  script_tag(name:"affected", value:"This issue affects CoreHTTP 0.5.3.1. Other versions may also
  be affected.");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/37237");
  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/508272");

  script_tag(name:"solution_type", value:"WillNotFix");

  script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure
  of this vulnerability. Likely none will be provided anymore. General solution options are to upgrade to a newer
  release, disable respective features, remove the product or replace the product by another one.");

  exit(0);
}

include("http_func.inc");
include("port_service_func.inc");
include("version_func.inc");

port = http_get_port(default:5555);

banner = http_get_remote_headers(port: port);
if(!banner || ! egrep(pattern:"Server: corehttp", string:banner))
  exit(0);

if(safe_checks()) {
  version = eregmatch(pattern:"Server: corehttp-([0-9.]+)", string:banner);
  if(!isnull(version[1])) {
    if(version_is_equal(version:version[1], test_version:"0.5.3.1")) {
      security_message(port:port);
      exit(0);
    }
  }
} else {

  if(http_is_dead(port:port))
    exit(0);

  soc = http_open_socket(port);
  if(!soc)
    exit(0);

  crap_data = crap(length:400);
  req = string(crap_data, "/index.html HTTP/1.1\r\n\r\n");
  send(socket:soc, data:req);

  if(http_is_dead(port:port)) {
    security_message(port:port);
    exit(0);
  }
}

exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 Jul 2023 00:00Current
6.3Medium risk
Vulners AI Score6.3
CVSS 27.5
EPSS0.06394
28