BugTraq
Samsung DVR credentials encoded in base64 in cookie header Dec 17 2016 06:51PM
Jacobo Avariento (spinfoo vuln gmail com)
Product: Samsung DVR
Impact: High

Intro
~~~~~~~~~~~~~~~

Samsung DVR Web Viewer is by default using HTTP (port 80) and transmits
the credentials encoded in the Cookie header using very bad security
practice, just encoding the login and password in BASE64 codification.
It is trivial to decode those values and gain access to Samsung DVR web
interface to monitor and control IP cameras, if the default credentials
have been changed.

Vulnerable code
~~~~~~~~~~~~~~~

http://192.168.1.23/cgi-bin/webviewer_login_page?lang=en (line 48)

document.cookie='ID='+encode64(document.login_page.id.value) +
'&PWD='+encode64(document.login_page.pwd.value) +
'&SessionID='+Math.random();

Mitigation
~~~~~~~~~~~~~~~

Do not transmit sensitive data encoded in BASE64 and use TLSv1.2 by default.

Previous CVEs
~~~~~~~~~~~~~~~
Samsung DVR CVE-2013-3585 Information Disclosure Vulnerability

--
https://github.com/spinfoo
https://pa.linkedin.com/in/jacoboavariento

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus