search menu icon-carat-right cmu-wordmark

CERT Coordination Center

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

Vulnerability Note VU#882286

Original Release Date: 2013-08-21 | Last Revised: 2013-10-03

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

882286
 

CVSS Metrics

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

Acknowledgements

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: 2013-08-21
Date First Published: 2013-08-21
Date Last Updated: 2013-10-03 19:14 UTC
Document Revision: 35

Sponsored by CISA.