http://serverip/zm/events/
http://serverip/zm/images/
Security hole
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
Re: Security hole
Technically this isn't a security "hole" or a vulnerability. There are three ways to fix this...throw in a blank index.html file in each directory, throw together a .htaccess or turn off directory listing in the apache configuration.
Yep - you can edit /etc/apache2/conf.d/zoneminder.conf (or wherever yours sits - this is Ubuntu server 7.10) and where it says "Options Indexes FollowSymLinks", put a "-" sign before the word "Indexes".
Mine now reads:
Options -Indexes FollowSymLinks
This doesn't stop someone from guessing a filename, which may be easier than it looks.
http://server/zm/events/1/nnnnn/001-capture.jpg
Replace "server" with your IP and "nnnnn" with some random numbers and see what you can find...
Mine now reads:
Options -Indexes FollowSymLinks
This doesn't stop someone from guessing a filename, which may be easier than it looks.
http://server/zm/events/1/nnnnn/001-capture.jpg
Replace "server" with your IP and "nnnnn" with some random numbers and see what you can find...
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: