|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16108 Vulnerability on function ` `
Submitted: 2002-03-15 16:38 UTC Modified: 2002-03-15 17:40 UTC
From: leandro at metalnave dot com dot br Assigned:
Status: Not a bug Package: *Web Server problem
PHP Version: 4.1.2 OS: *unix
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: leandro at metalnave dot com dot br
New email:
PHP Version: OS:


 [2002-03-15 16:38 UTC] leandro at metalnave dot com dot br
 Hi! My name is Leandro, and I've been doing some PHP tests
as I could.
 The problem is: When I execute the command ``, I'm able to
do any shell command that the HTTP user has right. Ok!
 Everybody know.

 But I could copy the /etc/passwd and I did other things like:
 cp, mv, rm, mkdir, cat, netstat, ps...

 Well, as you can see, I'm able to know as much things as 
I want, like: which plataform, software, local network,
aliases, sendmail conf, apache conf, bind, copy the *.PHP,
 *.JSP, *.ASP ... files and the server won't interprete it "I can copy their code", run software puted in the
server by me, ...

eg. echo (`cat /etc/passwd`);
    echo (`ps ax`);
    echo (`netstat -an`);
    `cp /etc/named.conf /my/web/dir/named.conf?;
    `cp /your/web/dir/addcart.php /my/web/dir`;
    echo (`cat /your/web/dir/login.php /my/web/dir`);

 Well, how seen before, I'm able to know what I want about
the server I am in.

 I think it's a terrible problem. I'm horried abault it.

 Best regards.
 Leandro Sousa de Carvalho
 web developer - RJ - Brazil


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-15 17:40 UTC]
This is not a bug. Please double-check the documentation available
at and the instructions on how to report
a bug at
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 17 14:03:37 2021 UTC