php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11278 if i make a script that shows a file, the i can to show whatever on the hdd
Submitted: 2001-06-04 22:26 UTC Modified: 2001-06-05 01:50 UTC
From: jdibiase at velocom dot com dot ar Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.0.5 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
20 - 4 = ?
Subscribe to this entry?

 
 [2001-06-04 22:26 UTC] jdibiase at velocom dot com dot ar
showhtml.php?page=../../aa.htm

script:

include($page);


if i call this script with 
showhtml.php?page=../../../../../../../../../../../../../../../../etc/passwd

it shows me that file.....

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-05 01:50 UTC] sniper@php.net
This is not a bug in PHP but in your script:

http://www.php.net/manual/en/security.php

PHP is not responsible for handling this kind of security
issues.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 14:01:30 2024 UTC