php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48884 Double Inserts in mysql database, double file appendage
Submitted: 2009-07-10 22:47 UTC Modified: 2009-07-10 23:20 UTC
From: somemail4chuck at yahoo dot com Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.3.0 OS: Linux
Private report: No CVE-ID: None
 [2009-07-10 22:47 UTC] somemail4chuck at yahoo dot com
Description:
------------
Double mysql calls or file system calls by using an image tag set to 
equal nothing denoted by 2 single quotes. Potential security risk as 
well, I have not tested for it but in theory you should be able to write 
the code on a form and have the server double all calls made on any page 
that reproduces that syntax.

Reproduce code:
---------------
Here is the code with explanation, about 10 lines.
http://w2r.com/bugs/

Expected result:
----------------
You would expect the output to append some text to the file 1 time.

Actual result:
--------------
If you run this code you'll get double the data you would expect.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-10 23:20 UTC] jani@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 23:01:34 2024 UTC