Ansicht umschalten
Avatar von tempos
  • tempos

mehr als 1000 Beiträge seit 07.05.2003

Bedingung "require all denied"

FĂĽr die ganzen Exploits ist Bedingung das fĂĽr Dateien auĂźerhalb der "Serverroot" kein "denied" gesetzt ist. In Debian basierten steht in der Regel folgendes in der apache.conf:

# Sets the default security model of the Apache2 HTTPD server. It does
# not allow access to the root filesystem outside of /usr/share and /var/www.
# The former is used by web applications packaged in Debian,
# the latter may be used for local directories served by the web server. If
# your system is serving content from a sub-directory in /srv you must allow
# access here, or in any related virtual host.
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>

Das sollte NICHT geändert werden, dann besteht in diesem Fall auch keine akute Gefahr.

Bewerten
- +
Ansicht umschalten