Lucene search
K

Mahara Cross Site Scripting and Cross Site Request Forgery Vulnerabilities

🗓️ 01 Apr 2011 00:00:00Reported by Copyright (C) 2011 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 14 Views

This host is running Mahara and is prone to cross site scripting and cross site request forgery vulnerabilities. Successful exploitation will allow attackers to execute arbitrary web script or HTML in a user's browser session in the context of an affected site

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2011-0439
28 Mar 201116:00
cve
CVE
CVE-2011-0440
28 Mar 201116:00
cve
Cvelist
CVE-2011-0439
28 Mar 201116:00
cvelist
Cvelist
CVE-2011-0440
28 Mar 201116:00
cvelist
Debian
[SECURITY] [DSA 2206-1] New mahara packages fix several vulnerabilities
29 Mar 201122:02
debian
Tenable Nessus
Debian DSA-2206-1 : mahara - several vulnerabilities
30 Mar 201100:00
nessus
EUVD
EUVD-2011-0464
7 Oct 202500:30
euvd
EUVD
EUVD-2011-0465
7 Oct 202500:30
euvd
NVD
CVE-2011-0439
28 Mar 201116:55
nvd
NVD
CVE-2011-0440
28 Mar 201116:55
nvd
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_mahara_xss_n_csrf_vuln.nasl 7029 2017-08-31 11:51:40Z teissa $
#
# Mahara Cross Site Scripting and Cross Site Request Forgery Vulnerabilities
#
# Authors:
# Sooraj KS <[email protected]>
#
# Copyright:
# Copyright (c) 2011 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 allow attackers to execute arbitrary web
  script or HTML in a user's browser session in the context of an affected
  site.
  Impact Level: Application";
tag_affected = "Mahara versions 1.2.x before 1.2.7 and 1.3.x before 1.3.4";
tag_insight = "- The application allows users to perform certain actions via HTTP requests
    without performing any validity checks to verify the requests. This can
    be exploited to delete blog posts by tricking a logged in administrative
    user into visiting a malicious web site.
  - Certain input passed via Pieform select box options is not properly
    sanitised before being displayed to the user. This can be exploited to
    insert arbitrary HTML and script code.";
tag_solution = "Upgrade to Mahara version 1.2.7 or 1.3.4.
  For updates refer to http://mahara.org/";
tag_summary = "This host is running Mahara and is prone to cross site scripting
  and cross site request forgery vulnerabilities.";

if(description)
{
  script_id(901199);
  script_version("$Revision: 7029 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-31 13:51:40 +0200 (Thu, 31 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-04-01 15:39:52 +0200 (Fri, 01 Apr 2011)");
  script_bugtraq_id(47033);
  script_cve_id("CVE-2011-0439", "CVE-2011-0440");
  script_tag(name:"cvss_base", value:"5.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:P");
  script_name("Mahara Cross Site Scripting and Cross Site Request Forgery Vulnerabilities");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/43858");
  script_xref(name : "URL" , value : "http://mahara.org/interaction/forum/topic.php?id=3205");
  script_xref(name : "URL" , value : "http://mahara.org/interaction/forum/topic.php?id=3206");
  script_xref(name : "URL" , value : "http://mahara.org/interaction/forum/topic.php?id=3208");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 SecPod");
  script_family("Web application abuses");
  script_dependencies("secpod_mahara_detect.nasl");
  script_require_ports("Services/www", 80);
  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");

## Get HTTP Port
port = get_http_port(default:80);
if(!port){
  exit(0);
}

## Check Host Supports PHP
if(!can_host_php(port:port)){
  exit(0);
}

## Get Mahara version from KB
if(vers = get_version_from_kb(port:port,app:"Mahara"))
{
  if(version_in_range(version:vers, test_version:"1.3.0", test_version2:"1.3.3") ||
     version_in_range(version:vers, test_version:"1.2.0", test_version2:"1.2.6"))
  {
    security_message(port:port);
    exit(0);
  }
}

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