Vulnerabilities > CVE-2009-0751 - Resource Management Errors vulnerability in Yaws

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
PARTIAL
network
low complexity
yaws
CWE-399
nessus
exploit available

Summary

Yaws before 1.80 allows remote attackers to cause a denial of service (memory consumption and crash) via a request with a large number of headers.

Common Weakness Enumeration (CWE)

Exploit-Db

descriptionYaws < 1.80 (multiple headers) Remote Denial of Service Exploit. CVE-2009-0751. Dos exploits for multiple platform
fileexploits/multiple/dos/8148.pl
idEDB-ID:8148
last seen2016-02-01
modified2009-03-03
platformmultiple
port
published2009-03-03
reporterPraveen Darshanam
sourcehttps://www.exploit-db.com/download/8148/
titleYaws < 1.80 multiple headers Remote Denial of Service Exploit
typedos

Nessus

NASL familyDebian Local Security Checks
NASL idDEBIAN_DSA-1740.NASL
descriptionIt was discovered that yaws, a high performance HTTP 1.1 webserver, is prone to a denial of service attack via a request with a large HTTP header.
last seen2020-06-01
modified2020-06-02
plugin id35924
published2009-03-16
reporterThis script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/35924
titleDebian DSA-1740-1 : yaws - denial of service
code
#%NASL_MIN_LEVEL 80502
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were  
# extracted from Debian Security Advisory DSA-1740. The text 
# itself is copyright (C) Software in the Public Interest, Inc.
#

include("compat.inc");

if (description)
{
  script_id(35924);
  script_version("1.10");
  script_cvs_date("Date: 2019/08/02 13:32:21");

  script_cve_id("CVE-2009-0751");
  script_xref(name:"DSA", value:"1740");

  script_name(english:"Debian DSA-1740-1 : yaws - denial of service");
  script_summary(english:"Checks dpkg output for the updated package");

  script_set_attribute(
    attribute:"synopsis", 
    value:"The remote Debian host is missing a security-related update."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"It was discovered that yaws, a high performance HTTP 1.1 webserver, is
prone to a denial of service attack via a request with a large HTTP
header."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://www.debian.org/security/2009/dsa-1740"
  );
  script_set_attribute(
    attribute:"solution", 
    value:
"Upgrade the yaws package.

For the stable distribution (lenny), this problem has been fixed in
version 1.77-3+lenny1.

For the oldstable distribution (etch), this problem has been fixed in
version 1.65-4etch1."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_cwe_id(399);

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:yaws");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:4.0");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:5.0");

  script_set_attribute(attribute:"patch_publication_date", value:"2009/03/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2009/03/16");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
  script_family(english:"Debian Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l");

  exit(0);
}


include("audit.inc");
include("debian_package.inc");


if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian");
if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING);


flag = 0;
if (deb_check(release:"4.0", prefix:"yaws", reference:"1.65-4etch1")) flag++;
if (deb_check(release:"5.0", prefix:"yaws", reference:"1.77-3+lenny1")) flag++;
if (deb_check(release:"5.0", prefix:"yaws-chat", reference:"1.77-3+lenny1")) flag++;
if (deb_check(release:"5.0", prefix:"yaws-mail", reference:"1.77-3+lenny1")) flag++;
if (deb_check(release:"5.0", prefix:"yaws-wiki", reference:"1.77-3+lenny1")) flag++;
if (deb_check(release:"5.0", prefix:"yaws-yapp", reference:"1.77-3+lenny1")) flag++;

if (flag)
{
  if (report_verbosity > 0) security_warning(port:0, extra:deb_report_get());
  else security_warning(0);
  exit(0);
}
else audit(AUDIT_HOST_NOT, "affected");

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/75404/yaws-dos.txt
idPACKETSTORM:75404
last seen2016-12-05
published2009-03-05
reporterPraveen Darshanam
sourcehttps://packetstormsecurity.com/files/75404/Yaws-Denial-Of-Service.html
titleYaws Denial Of Service

Seebug

  • bulletinFamilyexploit
    descriptionNo description provided by source.
    idSSV:66333
    last seen2017-11-19
    modified2014-07-01
    published2014-07-01
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-66333
    titleYaws < 1.80 (multiple headers) Remote Denial of Service Exploit
  • bulletinFamilyexploit
    descriptionNo description provided by source.
    idSSV:17873
    last seen2017-11-19
    modified2009-03-03
    published2009-03-03
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-17873
    titleYaws &lt; 1.80 (multiple headers) Remote Denial of Service Exploit