#48884 [NEW]: Double Inserts in mysql database, double file appendage
| From: | somemail4chuck at yahoo dot com | Date: | Fri, 10 Jul 2009 22:47:10 +0000 |
| Subject: | #48884 [NEW]: Double Inserts in mysql database, double file appendage | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-139615@lists.php.net to get a copy of this message | ||
From: somemail4chuck at yahoo dot com
Operating system: Linux
PHP version: 5.3.0
PHP Bug Type: Output Control
Bug description: Double Inserts in mysql database, double file appendage
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.
--
Edit bug report at http://bugs.php.net/?id=48884&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48884&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48884&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48884&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48884&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48884&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48884&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48884&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48884&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48884&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48884&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48884&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48884&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48884&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48884&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48884&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48884&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48884&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48884&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48884&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48884&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48884&r=mysqlcfg