Lucene search
K

Zeroblog <= 1.2a Cross-Site Scripting Vulnerability

🗓️ 22 Aug 2008 00:00:00Reported by This script is Copyright (C) 2005 Ferdy RiphagenType 
openvas
 openvas
🔗 plugins.openvas.org👁 21 Views

Zeroblog <= 1.2a Cross-Site Scripting Vulnerability detecte

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2005-3264
20 Oct 200504:00
cve
Cvelist
CVE-2005-3264
20 Oct 200504:00
cvelist
EUVD
EUVD-2005-3263
7 Oct 202500:30
euvd
NVD
CVE-2005-3264
20 Oct 200510:02
nvd
OpenVAS
Zeroblog <= 1.2a Cross-Site Scripting Vulnerability
22 Aug 200800:00
openvas
Positive Technologies
PT-2005-4077 · Zeroblog · Zeroblog
20 Oct 200500:00
ptsecurity
# OpenVAS Vulnerability Test
# $Id: zeroblog_xss.nasl 4557 2016-11-17 15:51:20Z teissa $
# Description: Zeroblog <= 1.2a Cross-Site Scripting Vulnerability
#
# Authors:
# Ferdy Riphagen <f(dot)riphagen(at)nsec(dot)nl>
#
# Copyright:
# Copyright (C) 2005 Ferdy Riphagen
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#

if (description) {

  script_id(200003);
  script_version("$Revision: 4557 $");
  script_tag(name:"last_modification", value:"$Date: 2016-11-17 16:51:20 +0100 (Thu, 17 Nov 2016) $");
  script_tag(name:"creation_date", value:"2008-08-22 16:09:14 +0200 (Fri, 22 Aug 2008)");

  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-2005-3264");
  script_bugtraq_id(15078);
  script_name("Zeroblog <= 1.2a Cross-Site Scripting Vulnerability");
  script_category(ACT_GATHER_INFO);
  script_copyright("This script is Copyright (C) 2005 Ferdy Riphagen");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name : "solution" , value : "Unknown at this time.");
  script_tag(name : "summary" , value : "The remote host appears to be running ZeroBlog that is vulnerable to cross-site
  scripting attacks.");
  script_tag(name : "impact" , value : "A vulnerability was identified in Zeroblog, which may be exploited by
  remote attackers to inject script code.");
  script_tag(name : "insight" , value : "ZeroBlog does not properly sanitize user input in the 'threadID', 'replyID'
  and 'albumID' parameters.");

  script_tag(name:"solution_type", value:"WillNotFix");
  script_tag(name:"qod_type", value:"remote_app");
  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("url_func.inc");

port = get_http_port(default:80);

if (!can_host_php(port:port)) exit(0);
if (get_kb_item(string("www/", port, "/generic_xss"))) exit(0);

xss = "'<IFRAME SRC=javascript:alert(%27XSS DETECTED BY OpenVAS%27)></IFRAME>";
exss = urlencode(str:xss);

foreach dir (make_list_unique("/zeroblog", "/", "/blog", cgi_dirs(port:port)))
{

 if(dir == "/") dir = "";

 res = http_get_cache(item: dir + "/thread.php", port:port);
 if (res == NULL) exit(0);

 if (egrep(pattern:">.*Copyright.*(C).*ZeroCom.*computers", string:res))
 {
  req = http_get(item:string(dir, "/thread.php?threadID=", exss), port:port);

  recv = http_keepalive_send_recv(port:port, data:req, bodyonly:1);
  if(recv == NULL)exit(0);

  if(xss >< recv)
  {
   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

17 Nov 2016 00:00Current
6.4Medium risk
Vulners AI Score6.4
EPSS0.00444
21