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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Feb 23 10:01:34 2024 UTC