Forums / General Questions / http://<www.domain.com>/editors/htmlarea/ world readable - a problem?

http://<www.domain.com>/editors/htmlarea/ world readable - a problem?

Locked

Views: 819

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
1 Jul 2009, 2:02 AM
#1
zcnb avatar

zcnb

Zen Follower

Join Date:
Jun 2008
Posts:
338
Plugin Contributions:
0

http://<www.domain.com>/editors/htmlarea/ world readable - a problem?

While implementing the latest security patch, I discovered that two of my subdirectories seem to be not protected by .htaccess and thus instead of producing a blank web page, it produces a "live" web page (with content, links, etc.).

The two subdirectories are:

  1. /editors/htmlarea/
  2. /editors/htmlarea/examples/

I checked some other zen-cart based stores on the web to see if they exhibit the same behavior and they do (i.e. this seems to be zen-cart's default, not specific to my site).

Is this a potential security problem?

Or is this by design?

Thanks.

1 Jul 2009, 2:05 AM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,304
Plugin Contributions:
39

Re: http://<www.domain.com>/editors/htmlarea/ world readable - a problem?

Ideally, this folder should be no more than 755 for compliance.... At least put a blank index.html file in them.

~Melanie

1 Jul 2009, 2:14 AM
#3
zcnb avatar

zcnb

Zen Follower

Join Date:
Jun 2008
Posts:
338
Plugin Contributions:
0

Re: http://<www.domain.com>/editors/htmlarea/ world readable - a problem?

mprough:

Ideally, this folder should be no more than 755 for compliance.... At least put a blank index.html file in them.
These two folders do have 755 permissions. But their index.html is not blank.

I am afraid that if I put a blank index.html in them (instead of the functional ones) I may break some Zen-Cart functionality (probably in the Admin). That's why I am asking.

Pick randomly any store in the "Live Showcase Shops" section, append /editors/htmlarea/ to their base URL - and you will see a non-blank html... Is this benign?

1 Jul 2009, 2:18 AM
#4
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,304
Plugin Contributions:
39

Re: http://<www.domain.com>/editors/htmlarea/ world readable - a problem?

Blank or not if an index files exists the directory cannot be browsed....

~Melanie