|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10902 Possible security hole via external modification of session vars
Submitted: 2001-05-16 10:17 UTC Modified: 2001-05-16 10:35 UTC
From: luci at conexim dot com dot au Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.0.5 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
12 + 25 = ?
Subscribe to this entry?

 [2001-05-16 10:17 UTC] luci at conexim dot com dot au
This is kind of similar to the old file upload problem, where you could set variables in a POST.

In some cases (depends on the way the code is written), if a site stores login status (eg. user name, etc) in session variables after an authorisation check, it is possible to pass values as the same-named session vars, and therefore actually bypass the authorisation step getting access to restricted areas.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-16 10:19 UTC] luci at conexim dot com dot au
Not really a bug, just an issue.
 [2001-05-16 10:35 UTC]
this could only happen with a misconfigured PHP - you would have to set it to register globals AND extract GET/POST data AFTER session data.

proper configuration is an admin reponsibility.
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 19:01:27 2019 UTC