|  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
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:
Solve the problem:
33 + 34 = ?
Subscribe to this entry?

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 22:01:31 2024 UTC