php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56358 SQL injection in URL
Submitted: 2005-03-25 13:36 UTC Modified: 2005-03-28 14:53 UTC
From: advantis at gmx dot net Assigned: mj (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2005-03-25 13:36 UTC] advantis at gmx dot net
Description:
------------
The URL Query String is not properly checked.

Reproduce code:
---------------
http://pecl.php.net/package-stats.php?cid=12%20or%201=1&pid=&rid=

Expected result:
----------------
Error

Actual result:
--------------
Puts the modified parameter as is in the WHERE clause which makes where query return the entire database.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-28 14:53 UTC] mj@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PEAR better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC