noshankus
03-20-2003, 05:47 AM
Hello,
I am testing one of our work servers (running on Linux), and I can navigate to upper levels that were not expected to be able to be viewed.
I have access to a perl file (not 100% sure what it does exactly), but I can view it's contects by simply entering the URL http://www.mybox.com/folder/../perl.pl <- which is basically contained in the parent folder of "folder". i.e. same as ...mybox.com/perl.pl
I have two questions:
1. Is this file able to be executed? - If so, how?
2. Is it possible that Linux commands can be executed from the URL, such as awk to replace existing code with malicious code? - obviously then executed. I assume that some unicode will be necessary for the spaces inbetween the arguments of this.
Thank you very much for your help.
I am testing one of our work servers (running on Linux), and I can navigate to upper levels that were not expected to be able to be viewed.
I have access to a perl file (not 100% sure what it does exactly), but I can view it's contects by simply entering the URL http://www.mybox.com/folder/../perl.pl <- which is basically contained in the parent folder of "folder". i.e. same as ...mybox.com/perl.pl
I have two questions:
1. Is this file able to be executed? - If so, how?
2. Is it possible that Linux commands can be executed from the URL, such as awk to replace existing code with malicious code? - obviously then executed. I assume that some unicode will be necessary for the spaces inbetween the arguments of this.
Thank you very much for your help.