Skip to content

CVE-2008-0252 CherryPy Malicious cookies allow access to files outside the session directory

HighCVSS 7.5 EPSS 2.6%
Published
Updated
Exploit status
No public exploit known

Description

Directory traversal vulnerability in the _get_file_path function in (1) lib/sessions.py in CherryPy 3.0.x up to 3.0.2, (2) filter/sessionfilter.py in CherryPy 2.1, and (3) filter/sessionfilter.py in CherryPy 2.x allows remote attackers to create or delete arbitrary files, and possibly read and write portions of arbitrary files, via a crafted session id in a cookie.

Affected products

ProductAffected versionsFixed in
pypi cherrypy(PyPI) < 2.1.1 2.1.1
pypi cherrypy(PyPI) = 0.10 No fix listed
pypi cherrypy(PyPI) = 2.0.0-final No fix listed
pypi cherrypy(PyPI) = 2.0.0b No fix listed
pypi cherrypy(PyPI) = 2.1.0 No fix listed
pypi cherrypy(PyPI) = 2.1.0-beta No fix listed
pypi cherrypy(PyPI) >= 3.0, < 3.0.2 3.0.2
pypi cherrypy(PyPI) = 3.0.0 No fix listed
pypi cherrypy(PyPI) = 3.0.1 No fix listed
cherrypy <= 2.1.0 No fix listed
cherrypy <= 3.0.2 No fix listed
debian/cherrypy3(Debian:12) < 3.0.2-2 3.0.2-2
debian/cherrypy3(Debian:13) < 3.0.2-2 3.0.2-2
debian/cherrypy3(Debian:14) < 3.0.2-2 3.0.2-2

References