Samsung DVR credentials encoded in base64 in cookie header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Security]     [Netfilter]     [PHP]     [Yosemite News]     [Linux Kernel]

  Powered by Linux