This is something that cPanel has set by default – the ability to see directory listings when visiting a directory with no acceptable ‘index’ page. You really don’t want this enabled as unsavory types can view what else you have in that directory. Follow this simple guide to secure your server a bit more and disable directory listing.
Log into your server and go to:
WHM >> Apache Configuration >> Global Configuration
directory into the search box
Click on save, then rebuild and restart.