Lucene search

K
openvasCopyright (C) 2009 SecPodOPENVAS:900353
HistoryMay 26, 2009 - 12:00 a.m.

LimeSurvey Information Disclosure Vulnerability

2009-05-2600:00:00
Copyright (C) 2009 SecPod
plugins.openvas.org
7

0.004 Low

EPSS

Percentile

73.5%

This host is running LimeSurvey and is prone to Information
Disclosure vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_limesurvey_info_disc_vuln.nasl 5055 2017-01-20 14:08:39Z teissa $
#
# LimeSurvey Information Disclosure Vulnerability
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (c) 2009 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), 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.
###############################################################################

tag_impact = "Successful exploitation will let the attacker gain sensitive information by
  executing arbitrary commands inside the context of the affected web application.
  Impact Level: Application";
tag_affected = "LimeSurvey version prior to 1.82";
tag_insight = "Error in a script in '/admin/remotecontrol/' and can be exploited to view and
  manipulate files, which may allow the execution of e.g. arbitrary PHP code.";
tag_solution = "Upgrade to LimeSurvey version 1.82 or later
  http://www.limesurvey.org/content/view/22/82/lang,en";
tag_summary = "This host is running LimeSurvey and is prone to Information
  Disclosure vulnerability.";

if(description)
{
  script_id(900353);
  script_version("$Revision: 5055 $");
  script_tag(name:"last_modification", value:"$Date: 2017-01-20 15:08:39 +0100 (Fri, 20 Jan 2017) $");
  script_tag(name:"creation_date", value:"2009-05-26 15:05:11 +0200 (Tue, 26 May 2009)");
  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_cve_id("CVE-2009-1604");
  script_bugtraq_id(34785);
  script_name("LimeSurvey Information Disclosure Vulnerability");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/34946");
  script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2009/1219");
  script_xref(name : "URL" , value : "http://www.limesurvey.org/content/view/169/1/lang,en");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 SecPod");
  script_family("Web application abuses");
  script_dependencies("secpod_limesurvey_detect.nasl");
  script_require_ports("Services/www", 80, 8080);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


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

surveyPort = get_http_port(default:80);
if(!surveyPort){
  exit(0);
}

surveyVer = get_kb_item("www/"+ surveyPort + "/LimeSurvey");
if(surveyVer == NULL){
  exit(0);
}

ver = eregmatch(pattern:"^(.+) under (/.*)$", string:surveyVer);
if(ver[1] != NULL)
{
  # Check for LimeSurvey version prior to 1.82
  if(version_is_less(version:ver[1], test_version:"1.82")){
    security_message(surveyPort);
  }
}

0.004 Low

EPSS

Percentile

73.5%

Related for OPENVAS:900353