CVE-2008-0252

CherryPy 2.x-3.0.2 - Path Traversal and Arbitrary File Manipulation via Session ID

Title source: llm
STIX 2.1

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.

References (18)

Core 18
Core References
Exploit, Patch x_refsource_confirm
http://www.cherrypy.org/changeset/1775
Issue Tracking x_refsource_confirm
https://bugs.gentoo.org/show_bug.cgi?id=204829
Exploit x_refsource_confirm
http://www.cherrypy.org/changeset/1776
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/0039
Third Party Advisory vendor-advisory x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200801-11.xml
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/27181
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2008/dsa-1481
Exploit, Patch x_refsource_confirm
http://www.cherrypy.org/changeset/1774
Issue Tracking x_refsource_confirm
https://issues.rpath.com/browse/RPL-2127
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/487001/100/0/threaded
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28769
Exploit x_refsource_confirm
http://www.cherrypy.org/ticket/744
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28353
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28611
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28354
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28620

Scores

EPSS 0.0265
EPSS Percentile 83.8%

Details

CWE
CWE-22
Status published
Products (2)
cherrypy/cherrypy < 2.1.0
pypi/cherrypy 0 - 2.1.1PyPI
Published Jan 12, 2008
Tracked Since Feb 18, 2026