Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293850

Use +SymLinksIfOwnerMatch instead of +FollowSymLinks option in .htaccess

$
0
0

Security concern

FollowSymlinks does not protect against malicious links into other domain's directories

Problem/Motivation

  • An increasing number of operating systems and hosts have tightened up their security settings and now forbids +FollowSymLinks option in the .htaccess file that comes with Drupal core. This causes an error 500 when accessing the site. When they introduced this policy they automatically converted +FollowSymLinks to +SymLinksIfOwnerMatch. A Drupal upgrade overwrote this change.

Affected platforms and systems

Proposed resolution

Change to +SymLinksIfOwnerMatch in Drupal core. It works just as well based on current tests and causes fewer problems. More information on the Sucuri blog at http://blog.sucuri.net/2013/05/from-a-site-compromise-to-full-root-acces...

Contrib module that support SymLinksIfOwnerMatch

Remaining tasks

Tests on other systems by those with more experience than I have

Related issues

Alleged +FollowSymlinks weakness which leads to security exploits


Viewing all articles
Browse latest Browse all 293850

Trending Articles