Novell Sentinel Log Manager Retention Policy Security Bypass Vulnerability

2012-11-23T00:00:00
ID OPENVAS:1361412562310803110
Type openvas
Reporter Copyright (C) 2012 Greenbone Networks GmbH
Modified 2020-05-05T00:00:00

Description

The host is running Novell Sentinel Log Manager and is prone security bypass vulnerability.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
#
# Novell Sentinel Log Manager Retention Policy Security Bypass Vulnerability
#
# Authors:
# Antu Sanadi <santu@secpod.com>
#
# Copyright:
# Copyright (C) 2012 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.
###############################################################################

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.803110");
  script_version("2020-05-05T09:44:01+0000");
  script_bugtraq_id(55767);
  script_cve_id("CVE-2012-6534");
  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_tag(name:"last_modification", value:"2020-05-05 09:44:01 +0000 (Tue, 05 May 2020)");
  script_tag(name:"creation_date", value:"2012-11-23 15:27:29 +0530 (Fri, 23 Nov 2012)");
  script_name("Novell Sentinel Log Manager Retention Policy Security Bypass Vulnerability");
  script_xref(name:"URL", value:"http://secunia.com/advisories/50797/");
  script_xref(name:"URL", value:"http://archives.neohapsis.com/archives/fulldisclosure/2012-10/0026.html");

  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2012 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 8443);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"impact", value:"Successful exploitation will allow attackers to bypass certain security
  restrictions.");

  script_tag(name:"affected", value:"Novell Sentinel Log Manager version 1.2.0.2 and prior.");

  script_tag(name:"insight", value:"The flaw is due to an error when saving a retention policy and can be
  exploited by a report administrator (read only role) to create new policies.");

  script_tag(name:"solution", value:"Apply the patch or upgrade to 1.2.0.3 or later.");

  script_tag(name:"summary", value:"The host is running Novell Sentinel Log Manager and is prone security bypass
  vulnerability.");

  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"qod_type", value:"remote_app");

  exit(0);
}

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

port = http_get_port(default:8443);
host = http_host_name(port:port);

req1 = http_get(item:"/novelllogmanager/views/logon.html", port:port);
res1 = http_keepalive_send_recv(port:port, data:req1);

if(res1 && ">Novell Sentinel Log Manager" >< res1 &&
   ">Novell Identity Audit<" >< res1)
{
  post_data = '5|0|9|https://' + host + '/novelllogmanager/' +
              'com.novell.siem.logmanager.LogManager/|E377321CAAD2FABED6' +
              '283BD3643E4289|com.novell.sentinel.scout.client.about.Abo' +
              'utLogManagerService|getLogManagerInfo|1|2|3|4|0|';

  req2 = string("POST /novelllogmanager/datastorageservice.rpc HTTP/1.1\r\n",
                "Host: ", host, "\r\n",
                "DNT: n",
                "Content-Type: text/x-gwt-rpc; charset=utf-8\r\n",
                "Content-Length: ", strlen(post_data), "\r\n",
                "\r\n", post_data);
  res2 = http_keepalive_send_recv(port:port, data:req2);

  if("The call" >< res2 && "on the server;" >< res2 &&
     "server log for details" >< res2){
    security_message(port:port);
    exit(0);
  }
}

exit(99);