php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17155 Safe Mode settings do not affect show_source
Submitted: 2002-05-11 13:52 UTC Modified: 2002-05-11 14:36 UTC
From: ilia at prohost dot org Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.2.0 OS: Linux 2.4.18
Private report: No CVE-ID: None
 [2002-05-11 13:52 UTC] ilia at prohost dot org
On a system with safe_mode enabled,
show_source() function will be able to show contents of any file.

ex.
<?php
show_source("/etc/passwd");
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-11 14:36 UTC] rasmus@php.net
Fixed in CVS
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Dec 06 22:00:02 2025 UTC