CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:N/I:P/A:N
AI Score
Confidence
High
EPSS
Percentile
69.4%
Buildbot is prone to a cross-site scripting (XSS) vulnerability.
# 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.800934");
script_version("2023-07-27T05:05:08+0000");
script_tag(name:"last_modification", value:"2023-07-27 05:05:08 +0000 (Thu, 27 Jul 2023)");
script_tag(name:"creation_date", value:"2009-09-11 18:01:06 +0200 (Fri, 11 Sep 2009)");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
script_cve_id("CVE-2009-2959");
script_name("Buildbot 'waterfall.py' Cross-Site Scripting Vulnerability");
script_xref(name:"URL", value:"http://secunia.com/advisories/36352/");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/36100");
script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2009/2352");
script_xref(name:"URL", value:"http://sourceforge.net/mailarchive/message.php?msg_name=42338fbf0908121232mb790a6cn787ac3de90e8bc31%40mail.gmail.com");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_buildbot_detect.nasl");
script_mandatory_keys("Buildbot/Ver");
script_tag(name:"impact", value:"Successful exploitation will allow attacker to inject arbitrary web script
or HTML via unspecified vectors and conduct cross-site scripting attacks.");
script_tag(name:"affected", value:"Buildbot version 0.7.6 through 0.7.11p1 on all platforms.");
script_tag(name:"insight", value:"This flaw arise because user supplied data passed into the waterfall web
status view in status/web/waterfall.py is not sanitised before being
returned to the user.");
script_tag(name:"solution", value:"Upgrade to version 0.7.11p2 or later.");
script_tag(name:"summary", value:"Buildbot is prone to a cross-site scripting (XSS) vulnerability.");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("version_func.inc");
buildbotVer = get_kb_item("Buildbot/Ver");
if(!buildbotVer)
exit(0);
if(version_in_range(version:buildbotVer, test_version:"0.7.6", test_version2:"0.7.11.p1")){
report = report_fixed_ver(installed_version:buildbotVer, vulnerable_range:"0.7.6 - 0.7.11.p1");
security_message(port: 0, data: report);
}