Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 290919 Details for
Bug 427664
CVE-2008-0252 CherryPy: Malicious cookies may allow access to files outside the session directory
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Backported fix
cherrypy-2.2.1-security-sessionfilter.patch (text/plain), 716 bytes, created by
Toshio Kuratomi
on 2008-01-06 17:08:43 UTC
(
hide
)
Description:
Backported fix
Filename:
MIME Type:
Creator:
Toshio Kuratomi
Created:
2008-01-06 17:08:43 UTC
Size:
716 bytes
patch
obsolete
>diff -up CherryPy-2.2.1/cherrypy/filters/sessionfilter.py.sessionfix CherryPy-2.2.1/cherrypy/filters/sessionfilter.py >--- CherryPy-2.2.1/cherrypy/filters/sessionfilter.py.sessionfix 2008-01-06 08:54:39.000000000 -0800 >+++ CherryPy-2.2.1/cherrypy/filters/sessionfilter.py 2008-01-06 08:55:31.000000000 -0800 >@@ -326,6 +326,8 @@ class FileStorage: > raise SessionStoragePathNotConfiguredError() > fileName = self.SESSION_PREFIX + id > file_path = os.path.join(storage_path, fileName) >+ if not os.path.normpath(filePath).startswith(storagePath): >+ raise cherrypy.HTTPError(400, "Invalid session id in cookie.") > return file_path > > def _lock_file(self, path):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 427664
: 290919