Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 25 by sp2hari: Prevent users from opening files
http://code.google.com/p/codechecker/issues/detail?id=25
What steps will reproduce the problem?
1. Let us assume my mysql config file is at /var/www/app/config.php
2. Allow PHP submissions in codechecker and submit the file which has
following code
3. echo file_get_contens("/var/www/app/config.php")
What is the expected output? What do you see instead?
Expected output is something like permission denied or something. But
instead the file contents are displayed
What version of the product are you using? On what operating system?
Current Version. Linux/Ubuntu
Please provide any additional information below.
Is there any way we can prevent the users from opening unwanted files?
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
Subscription settings:
http://groups.google.com/group/codechecker/subscribe?hl=en