Lucene search
+L

thttpd Buffer Overflow Vulnerability

🗓️ 23 Feb 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 776 Views

The thttpd implementation of htpasswd is affected by a buffer overflow that allows remote code execution

Related
Refs
Code
ReporterTitlePublishedViews
Family
alpinelinux
AlpineLinux
CVE-2017-17663
6 Feb 201817:00
alpinelinux
circl
Circl
CVE-2017-17663
14 Aug 202616:00
circl
cnvd
CNVD
mini-httpd and thttpd buffer overflow vulnerabilities
7 Feb 201800:00
cnvd
cve
CVE
CVE-2017-17663
6 Feb 201817:00
cve
cvelist
Cvelist
CVE-2017-17663
6 Feb 201817:00
cvelist
debiancve
Debian CVE
CVE-2017-17663
6 Feb 201817:00
debiancve
euvd
EUVD
EUVD-2017-8821
7 Oct 202500:30
euvd
freebsd
FreeBSD
mini_httpd,thttpd -- Buffer overflow in htpasswd
13 Dec 201700:00
freebsd
nvd
NVD
CVE-2017-17663
6 Feb 201817:29
nvd
openvas
OpenVAS
mini_httpd Buffer Overflow Vulnerability
23 Feb 201800:00
openvas
Rows per page
# SPDX-FileCopyrightText: 2018 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

CPE = "cpe:/a:acme:thttpd";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.140801");
  script_version("2024-06-28T15:38:46+0000");
  script_tag(name:"last_modification", value:"2024-06-28 15:38:46 +0000 (Fri, 28 Jun 2024)");
  script_tag(name:"creation_date", value:"2018-02-23 11:21:40 +0700 (Fri, 23 Feb 2018)");
  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_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2018-03-13 14:47:00 +0000 (Tue, 13 Mar 2018)");

  script_cve_id("CVE-2017-17663");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");

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

  script_name("thttpd Buffer Overflow Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Web Servers");
  script_dependencies("gb_thttpd_detect.nasl");
  script_mandatory_keys("thttpd/detected");

  script_tag(name:"summary", value:"The htpasswd implementation of thttpd is affected by a buffer
  overflow that can be exploited remotely to perform code execution.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"If you are just using htpasswd to set up your own web auth files
  locally, there is no security implication from this bug. On the other hand if you are giving
  remote users access to htpasswd, they could conceivably use the buffer overrun to accomplish
  remote code execution (RCE) as the web server user.");

  script_tag(name:"solution", value:"Update to version 2.28 or later.");

  script_xref(name:"URL", value:"http://acme.com/updates/archive/199.html");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!version = get_app_version(cpe: CPE, port: port))
  exit(0);

if (version_is_less(version: version, test_version: "2.28")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "2.28");
  security_message(port: port, data: report);
  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

28 Jun 2024 00:00Current
9.8High risk
Vulners AI Score9.8
CVSS 27.5
CVSS 39.8
EPSS0.02715
776