1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00
freebsd-ports/lang/php53/files/patch-php.ini-dist
Alex Dupre d754180768 - fix open_basedir vulnerability in php4 and php5 [1]
- add an alert on safe_mode intrinsic insecurity and
  suggest to install the suhosin extension
- enable the suhosin patch by deafult also in php4

Submitted by:	Thomas Vogt <thomas@bsdunix.ch> [1]
Obtained from:	PHP CVS [1]
Approved by:	portmgr (clement)
2006-10-16 09:30:58 +00:00

19 lines
701 B
Plaintext

--- php.ini-dist.orig Fri Dec 30 18:19:43 2005
+++ php.ini-dist Mon Oct 16 08:12:28 2006
@@ -165,6 +165,15 @@
; Safe Mode
;
+; SECURITY NOTE: The FreeBSD Security Officer strongly recommend that
+; the PHP Safe Mode feature not be relied upon for security, since the
+; issues Safe Mode tries to handle cannot properly be handled in PHP
+; (primarily due to PHP's use of external libraries). While many bugs
+; in Safe Mode has been fixed it's very likely that more issues exist
+; which allows a user to bypass Safe Mode restrictions.
+; For increased security we always recommend to install the Suhosin
+; extension.
+;
safe_mode = Off
; By default, Safe Mode does a UID compare check when