Vulnerability Note VU#882286

Samsung Web Viewer for Samsung DVR allows authentication bypass and password disclosure

Original Release date: 21 Aug 2013 | Last revised: 03 Oct 2013

Overview

Samsung Web Viewer for Samsung DVR contains multiple vulnerabilities including: Cleartext Storage in a File or on Disk (CWE-313) and Authentication Bypass by Assumed-Immutable Data (CWE-302).

Description

CWE-313: Cleartext Storage in a File or on Disk - CVE-2013-3585

Web Viewer for Samsung DVR stores user credentials in plaintext allowing an attacker to parse saved credentials on the user setup webpage.

CWE-302: Authentication Bypass by Assumed-Immutable Data - CVE-2013-3586
Web Viewer for Samsung DVR contains a vulnerability in its cookie-handling procedure that accepts any input as a valid session ID if placed after SessionID=. This allows an attacker to send a specially crafted cookie containing an malicious SessionID to the web server which bypasses authentication and can provide access to internal pages, including camera controls and account settings.

For example:
headers = { "Cookie": "=", "Accept": "text/plain"}

The CVSS score below reflects the authentication bypass attack.

Impact

A remote unauthenticated attacker may be able to retrieve the device's administrator password, allowing them to directly access the device's configuration web page or system password configuration files.

Solution

Apply an Update

Samsung has released updated firmware. Please see their statement on the Vendor Information page.

If applying an update is not possible, please consider the following workaround.

Restrict access to the Samsung Web Viewer for Samsung DVR interface

Restrict access to the Samsung DVR Web Viewer interface to trusted networks. If possible, configure management and transit networks for separate VLANs, or restrict access to the device using IP access lists.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
SamsungAffected05 Jun 201303 Oct 2013
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base 7.6 AV:N/AC:H/Au:N/C:C/I:C/A:C
Temporal 5.4 E:POC/RL:OF/RC:UC
Environmental 4.1 CDP:N/TD:M/CR:ND/IR:ND/AR:ND

References

Credit

Thanks to Andrey Bezborodov for reporting this vulnerability.

This document was written by Adam Rauf.

Other Information

  • CVE IDs: CVE-2013-3585 CVE-2013-3586
  • Date Public: 21 Aug 2013
  • Date First Published: 21 Aug 2013
  • Date Last Updated: 03 Oct 2013
  • Document Revision: 33

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.