• November 18, 2019, 11:00:33 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: [1] 2

Author Topic: DCS-920 camera publicly viewable - cannot secure?  (Read 11001 times)

BryanGriffith

  • Level 1 Member
  • *
  • Posts: 8
DCS-920 camera publicly viewable - cannot secure?
« on: November 16, 2009, 08:28:08 AM »

I just plugged in a DCS-920 and opened a route to port 80. I am running the latest firmware 1.03.

I then pasted the APPLET code into an HTML file, and the camera is now visible to the world without any security.

<APPLET name="cvcs" CODEBASE="http://127.0.0.1:81/" CODE="xplug.class" WIDTH=640 HEIGHT=480>
              <param name="RemotePort" value=81>
              <param name="Timeout" value=5000>
              <param name="RotateAngle" value=0>
              <param name="PreviewFrameRate" value=2>
              <param name="DeviceSerialNo" value="***************=">
              </APPLET>

Anyone who can access the applet class, or the ActiveX class can view the live video and bypass the security. Only the still image is password protected by the user access control.

This is completely unacceptable as anyone with my IP and DeviceSerialNo can now view my camera.

Every file on the camera, including the java .class and ActiveX class, should be protected by the user access controls.

Is there a fix for this problem or should I return the camera?
Logged

Mickey

  • Level 1 Member
  • *
  • Posts: 21
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #1 on: November 25, 2009, 10:12:04 AM »

Did you enable user access control?
Logged

BryanGriffith

  • Level 1 Member
  • *
  • Posts: 8
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #2 on: November 27, 2009, 02:02:58 PM »

Yes. I have enabled User Access Control, but that only prevents access to the JPG image and the control panel, but not the JAVA Class or the ActiveX Control which provide streaming video.

I have not called to complain yet, but I think this is a major problem.
Logged

BryanGriffith

  • Level 1 Member
  • *
  • Posts: 8
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #3 on: December 25, 2009, 06:31:38 PM »

Why hasn't this received any attention? I tried to report this problem over the phone, but they were not helpful.
Logged

ECF

  • Technical Engineer
  • Level 11 Member
  • *
  • Posts: 2692
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #4 on: December 30, 2009, 04:16:16 PM »

What where you told over the phone by technical support? Did they replicate your issue and provide any feedback?
Logged
Never forget that only dead fish swim with the stream

BryanGriffith

  • Level 1 Member
  • *
  • Posts: 8
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #5 on: January 03, 2010, 06:59:29 AM »

Tech support did not seem interested in hearing my concerns, and refused to escalate the call to anyone responsible. I guess I should keep calling back, but it just takes an incredible amount of time to do so.

Can anyone else replicate the problem?
Logged

BryanGriffith

  • Level 1 Member
  • *
  • Posts: 8
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #6 on: January 04, 2010, 08:14:51 AM »

Skitsnack,

I am not going to post my camera information, but you can test on your own camera by pointing your browser to:

http://MYCAMERA/xplug.class

or if you are running Chrome Developer (maybe BETA too) version, you can point your browser to http://MYCAMERA/mjpeg.cgi

or, you can paste the JAVA or ActiveX code into an html page to embed your camera into the page, and you will not get a password request to view any of these files. All of this provides direct unprotected access to the live stream.
Logged

trevwgtn

  • Level 1 Member
  • *
  • Posts: 3
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #7 on: January 28, 2010, 11:55:58 AM »

I concur with BryanGriffith's observations – actually, it is worse than he states here, as I’ve observed in my case where I own four DCS920 cameras all purchased at different times spread over 12 months, and the ALL have the same DeviceSerialNo.

So, if you have more than one camera, and say for example you want to share one of them publically (e.g. out-door facing weathercam), and keep the others private (e.g. indoor baby-cam), with this bug, all of them could become find-able by someone with this knowledge (or presumably just the knowledge that it’s a DCS920). In my case they could just try all my other ports on my home IP and it wouldn’t take long to find the other cameras.

I find the bug unacceptable on several levels – (1) all files should be user-access protected as BryanGriffith mentions; but also (2) the DeviceSerialNumber should at least be hashed from the actual serial device (not jus hard-coded in firmware), or even better (3) hashed from a user-defined security string, so security can be enhanced by changing it periodically or as required (e.g. security breach)

My installation is a home cable modem, and wireless router. I want to write my own web code software to share cameras publically but without creating (and running, all the time) an intermediate server to decouple the camera’s video from the stream available publically, I can’t see a way of doing it securely while the current fault exists.
Logged

ionizer

  • Level 1 Member
  • *
  • Posts: 20
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #8 on: April 17, 2010, 10:03:51 PM »

has this issue been resolved in newer firmware v1.03 or some other manner?

i tried to replicate, via direct html of the xplug.class or the mjpeg.cgi direction
i also tried to replicate by using the <applet> code mentioned

i tried this in firefox, IE and Chrome and I was never able to access my cameras, but have no problem accessing them via the normal web page.

ideally, i'd like to be able to setup my own html page that shows two streams and of course be prompted for a password, but if that is not possible, i definitely want to make sure no one can just simply access each one individually.
Logged

ionizer

  • Level 1 Member
  • *
  • Posts: 20
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #9 on: April 17, 2010, 10:07:40 PM »

nevermind, i see that the device serial # doesn't necessarily correspond to the serial # on the back of the device....i viewed the source from the html page and then copied that and i see that this is indeed a bypass available.

anyone can simply acquire that information and have access!!!
Logged

Mackerel

  • Level 3 Member
  • ***
  • Posts: 348
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #10 on: April 18, 2010, 11:19:18 PM »

The only part visible/accessible is the video. Any other access (setup, etc) goes via user/password. If you want to close off access to your webcam you can use a forwarded port via the router into your website. This will not stop people from viewing the image, but the rest is obfuscated.

The only part I do not understand is what the problem is with it being publicly viewable... If you keep it behind the router, it stays inside your LAN. So please explain where the problem lies.
Logged

ionizer

  • Level 1 Member
  • *
  • Posts: 20
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #11 on: April 19, 2010, 03:20:11 AM »

here's the problem:

I want to view my home remotely from work to see a 3 week old baby.  thus i need the ports forwarded to access from work.  in addition, i may want to share an additional username/password with family and friends so that they can view her remotely.

however, i do not want anyone else in the world who knows about this workaround to be able to have the chance of remotely viewing my home. 

i thought that was kinda obvious, no?
Logged

Mackerel

  • Level 3 Member
  • ***
  • Posts: 348
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #12 on: April 19, 2010, 11:39:38 PM »

i thought that was kinda obvious, no?

Not really, but now it is... If you have a website with added options (scripting/cgi/php/etc) you could force usage of a login through that, but going to the webcam directly... That will not work (at this moment). If you forego on the DDNS and just use the hard IP-address, it will be (a little bit) harder to 'find' your camera.

So, again, not possible on 920. Sorry.

Logged

ionizer

  • Level 1 Member
  • *
  • Posts: 20
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #13 on: April 20, 2010, 05:12:55 AM »

Not really, but now it is... If you have a website with added options (scripting/cgi/php/etc) you could force usage of a login through that, but going to the webcam directly... That will not work (at this moment). If you forego on the DDNS and just use the hard IP-address, it will be (a little bit) harder to 'find' your camera.

So, again, not possible on 920. Sorry.



yeah, i mean the url itself is not going to be something obvious to find and it just goes hard direct to the ip address and port anyway.  so yeah, it's harder to find, but it's the mere fact that it could be only a matter of time if someone wanted to scan for this type of feed, find it, then view into ur home.

there's absolutely no reason that the feed shouldn't have some authentication on it.  it seems like a basic security principle to me.  did d-link think everyone is stupid and wouldn't figure it out?
Logged

ECF

  • Technical Engineer
  • Level 11 Member
  • *
  • Posts: 2692
Re: DCS-920 camera publicly viewable - cannot secure?
« Reply #14 on: April 20, 2010, 09:58:20 AM »

Do you have these same results if you do not port forward port 80 to the camera but utilize the secondary http port?
Logged
Never forget that only dead fish swim with the stream
Pages: [1] 2