본문 바로가기

취약점 정보2

삼성DVR credentials encoded in base64 in cookie header

728x90
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
728x90