Lucene search
+L

SAProuter Remote Authentication Bypass Vulnerability

🗓️ 27 May 2014 00:00:00Reported by Copyright (C) 2014 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 51 Views

SAProuter Remote Authentication Bypass Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2013-7093
13 Dec 201319:00
cve
Cvelist
CVE-2013-7093
13 Dec 201319:00
cvelist
EUVD
EUVD-2013-6879
7 Oct 202500:30
euvd
NVD
CVE-2013-7093
13 Dec 201320:08
nvd
Prion
Authentication flaw
13 Dec 201320:08
prion
Tenable Nessus
SAProuter Remote Authentication Bypass (Note 1853140)
3 Feb 201400:00
nessus
# Copyright (C) 2014 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.

CPE = "cpe:/a:sap:network_interface_router";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.105035");
  script_version("2022-04-14T11:24:11+0000");
  script_cve_id("CVE-2013-7093");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
  script_tag(name:"last_modification", value:"2022-04-14 11:24:11 +0000 (Thu, 14 Apr 2022)");
  script_tag(name:"creation_date", value:"2014-05-27 15:35:11 +0200 (Tue, 27 May 2014)");
  script_name("SAProuter Remote Authentication Bypass Vulnerability");
  script_category(ACT_ATTACK);
  script_family("General");
  script_copyright("Copyright (C) 2014 Greenbone Networks GmbH");
  script_dependencies("gb_sap_router_detect.nasl");
  script_require_ports("Services/SAProuter", 3299);
  script_mandatory_keys("SAProuter/installed");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/64230");
  script_xref(name:"URL", value:"https://erpscan.io/advisories/erpscan-13-023-saprouter-authentication-bypass/");
  script_xref(name:"URL", value:"https://launchpad.support.sap.com/#/notes/1853140");

  script_tag(name:"summary", value:"SAProuter is prone to an authentication-bypass vulnerability.");

  script_tag(name:"vuldetect", value:"Sends an information request and checks the response.");

  script_tag(name:"insight", value:"An attacker can reconfigure SAProuter remotely without
  authentication because authorization check is missing. It can lead to various threats, from
  information disclosure to full system compromise.");

  script_tag(name:"impact", value:"Remote attackers can exploit this issue to bypass the authentication
  mechanism and gain unauthorized access.");

  script_tag(name:"affected", value:"SAP Network Interface Router (SAProuter) 39.3 SP4.");

  script_tag(name:"solution", value:"Updates are available. Please see the references or vendor advisory
  for more information.");

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

  exit(0);
}

include("byte_func.inc");
include("host_details.inc");

if( ! port = get_app_port( cpe:CPE ) )
  exit( 0 );

if( ! get_app_location( port:port, cpe:CPE, nofork:TRUE ) )
  exit( 0 );

if( ! soc = open_sock_tcp( port ) )
  exit( 0 );

req = raw_string( 0x00, 0x00, 0x00, 0x0f, 'ROUTER_ADM\0', 39, 0x02, 0x00, 0x00 );

send( socket:soc, data:req );

while( TRUE ) {

  buf = recv( socket:soc, min:4, length:4 );
  if( ! buf || strlen( buf ) != 4 ) {
    close( soc );
    exit( 0 );
  }

  len = getdword( blob:buf );

  if( ! len || int( len ) < 1 )
    break;

  buf = recv( socket:soc, length:len );

  if( ! buf || "NI_RTERR" >< buf || strlen( buf ) != len ) {
    close( soc );
    exit( 99 );
  }

  if( buf =~ "[:^cntrl:]+" )
    report += substr( buf, 0, strlen( buf ) - 2 ) + '\n';
}

close( soc );

if( report ) {
  report = 'The following information could be gathered by the scanner:\n' + report;
  security_message( port:port, data: report );
  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