Ticket #1484066 (new Patches)

Opened 23 months ago

Last modified 6 months ago

SVN checkout and .htaccess

Reported by: bobtfish Owned by:
Priority: 5 Milestone: later
Component: Security issue Version: 0.1-beta
Severity: minor Keywords: security htaccess
Cc: bobtfish@…

Description

The .htaccess files in roundcube stop access to some files, but not to all.

If you are using a subversion checkout of roundcube then it is possible to browse all the svn metadata. This isn't a problem for me, as I use svk, but it will be for someone else before long ;)

Being able to view files like the CHANGELOG could also be quite dangerous as it gives hackers a trivial way to fingerprint which version of RoundCube you are using.

I have a patch for this issue (generated by svk) at http://mail.bobtfish.net/roundcube-htaccess.patch. I hope this format is acceptable to you. Unfortunatly, this patch adds an additional dependency to mod_rewrite as I couldn't find / think of another way to deny access to all .svn directories from a .htaccess file.

Cheers Tom

Attachments

roundcube-htaccess.patch (3.8 kB) - added by bobtfish 23 months ago.
Attached patch mentioned in ticket..

Change History

Changed 23 months ago by bobtfish

Attached patch mentioned in ticket..

Changed 23 months ago by bobtfish

You could also do with a propset on the logs directory...

Changed 6 months ago by seansan

  • summary changed from .htaccess files in roundcube not extensive enough to SVN checkout and .htaccess
  • milestone set to 0.1.1

Decide in 1.1

SVN .ignore options added. Should not be the casse anymore

Changed 6 months ago by till

  • milestone changed from 0.1.1 to later
Note: See TracTickets for help on using tickets.