{"api_version":"1","generated_at":"2026-07-23T07:40:56+00:00","cve":"CVE-2008-0252","urls":{"html":"https://cve.report/CVE-2008-0252","api":"https://cve.report/api/cve/CVE-2008-0252.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-0252","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-0252"},"summary":{"title":"CVE-2008-0252","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2008-01-12 02:46:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-22","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.cherrypy.org/changeset/1774","name":"http://www.cherrypy.org/changeset/1774","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch"],"title":"[1774] - CherryPy - Trac","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://www.cherrypy.org/ticket/744","name":"http://www.cherrypy.org/ticket/744","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"#744 (Malicious cookies may allow access to files outside the session directory) - CherryPy - Trac","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2008/0039","name":"http://www.vupen.com/english/advisories/2008/0039","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2008/dsa-1481","name":"http://www.debian.org/security/2008/dsa-1481","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-1481-1 python-cherrypy","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/archive/1/487001/100/0/threaded","name":"http://www.securityfocus.com/archive/1/487001/100/0/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityFocus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://issues.rpath.com/browse/RPL-2127","name":"https://issues.rpath.com/browse/RPL-2127","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://security.gentoo.org/glsa/glsa-200801-11.xml","name":"http://security.gentoo.org/glsa/glsa-200801-11.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"CherryPy: Directory traversal vulnerability — Gentoo Linux Documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00240.html","name":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00240.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 8 Update: python-cherrypy-2.2.1-8.fc8","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.cherrypy.org/changeset/1775","name":"http://www.cherrypy.org/changeset/1775","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch"],"title":"[1775] - CherryPy - Trac","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://www.cherrypy.org/changeset/1776","name":"http://www.cherrypy.org/changeset/1776","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"[1776] - CherryPy - Trac","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://secunia.com/advisories/28769","name":"http://secunia.com/advisories/28769","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian update for python-cherrypy - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/28611","name":"http://secunia.com/advisories/28611","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"rPath update for CherryPy - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/28353","name":"http://secunia.com/advisories/28353","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Fedora update for python-cherrypy - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00297.html","name":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00297.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 7 Update: python-cherrypy-2.2.1-8.fc7","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/28354","name":"http://secunia.com/advisories/28354","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"CherryPy Session Id Directory Traversal Vulnerability - Secunia Advisories - Vulnerability Information - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/28620","name":"http://secunia.com/advisories/28620","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo update for cherrypy - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/27181","name":"http://www.securityfocus.com/bid/27181","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"CherryPy Cookie Session Id Information Disclosure Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=204829","name":"https://bugs.gentoo.org/show_bug.cgi?id=204829","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo Bug 204829 - dev-python/cherrypy < 3.0.2-r1 Directory traversal via malicious cookie (CVE-2008-0252)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-0252","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-0252","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2008","cve_id":"252","vulnerable":"1","versionEndIncluding":"2.1.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cherrypy","cpe5":"cherrypy","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"252","vulnerable":"1","versionEndIncluding":"3.0.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cherrypy","cpe5":"cherrypy","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T07:39:34.200Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.cherrypy.org/changeset/1775"},{"name":"ADV-2008-0039","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2008/0039"},{"name":"GLSA-200801-11","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200801-11.xml"},{"name":"27181","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/27181"},{"name":"DSA-1481","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2008/dsa-1481"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.gentoo.org/show_bug.cgi?id=204829"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.cherrypy.org/changeset/1776"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.cherrypy.org/changeset/1774"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://issues.rpath.com/browse/RPL-2127"},{"name":"20080124 rPSA-2008-0030-1 CherryPy","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/487001/100/0/threaded"},{"name":"FEDORA-2008-0333","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00297.html"},{"name":"28769","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28769"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.cherrypy.org/ticket/744"},{"name":"28353","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28353"},{"name":"28611","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28611"},{"name":"28354","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28354"},{"name":"28620","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28620"},{"name":"FEDORA-2008-0299","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00240.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-01-07T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-15T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://www.cherrypy.org/changeset/1775"},{"name":"ADV-2008-0039","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2008/0039"},{"name":"GLSA-200801-11","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200801-11.xml"},{"name":"27181","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/27181"},{"name":"DSA-1481","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2008/dsa-1481"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.gentoo.org/show_bug.cgi?id=204829"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.cherrypy.org/changeset/1776"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.cherrypy.org/changeset/1774"},{"tags":["x_refsource_CONFIRM"],"url":"https://issues.rpath.com/browse/RPL-2127"},{"name":"20080124 rPSA-2008-0030-1 CherryPy","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/487001/100/0/threaded"},{"name":"FEDORA-2008-0333","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00297.html"},{"name":"28769","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28769"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.cherrypy.org/ticket/744"},{"name":"28353","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28353"},{"name":"28611","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28611"},{"name":"28354","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28354"},{"name":"28620","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28620"},{"name":"FEDORA-2008-0299","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00240.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-0252","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://www.cherrypy.org/changeset/1775","refsource":"CONFIRM","url":"http://www.cherrypy.org/changeset/1775"},{"name":"ADV-2008-0039","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2008/0039"},{"name":"GLSA-200801-11","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200801-11.xml"},{"name":"27181","refsource":"BID","url":"http://www.securityfocus.com/bid/27181"},{"name":"DSA-1481","refsource":"DEBIAN","url":"http://www.debian.org/security/2008/dsa-1481"},{"name":"https://bugs.gentoo.org/show_bug.cgi?id=204829","refsource":"CONFIRM","url":"https://bugs.gentoo.org/show_bug.cgi?id=204829"},{"name":"http://www.cherrypy.org/changeset/1776","refsource":"CONFIRM","url":"http://www.cherrypy.org/changeset/1776"},{"name":"http://www.cherrypy.org/changeset/1774","refsource":"CONFIRM","url":"http://www.cherrypy.org/changeset/1774"},{"name":"https://issues.rpath.com/browse/RPL-2127","refsource":"CONFIRM","url":"https://issues.rpath.com/browse/RPL-2127"},{"name":"20080124 rPSA-2008-0030-1 CherryPy","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/487001/100/0/threaded"},{"name":"FEDORA-2008-0333","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00297.html"},{"name":"28769","refsource":"SECUNIA","url":"http://secunia.com/advisories/28769"},{"name":"http://www.cherrypy.org/ticket/744","refsource":"CONFIRM","url":"http://www.cherrypy.org/ticket/744"},{"name":"28353","refsource":"SECUNIA","url":"http://secunia.com/advisories/28353"},{"name":"28611","refsource":"SECUNIA","url":"http://secunia.com/advisories/28611"},{"name":"28354","refsource":"SECUNIA","url":"http://secunia.com/advisories/28354"},{"name":"28620","refsource":"SECUNIA","url":"http://secunia.com/advisories/28620"},{"name":"FEDORA-2008-0299","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00240.html"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-0252","datePublished":"2008-01-12T02:00:00.000Z","dateReserved":"2008-01-11T00:00:00.000Z","dateUpdated":"2024-08-07T07:39:34.200Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2008-01-12 02:46:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-22","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:cherrypy:cherrypy:*:*:*:*:*:*:*:*","versionEndIncluding":"2.1.0","matchCriteriaId":"EF7FEFD4-0529-4FB6-A2FB-A547570B2631"},{"vulnerable":true,"criteria":"cpe:2.3:a:cherrypy:cherrypy:*:*:*:*:*:*:*:*","versionEndIncluding":"3.0.2","matchCriteriaId":"DD1D10BF-3139-47DE-B745-F0FBECFCD39F"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"252","Ordinal":"1","Title":"CVE-2008-0252","CVE":"CVE-2008-0252","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"252","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2008-0252"},{"CveYear":"2008","CveId":"252","Ordinal":"2","NoteData":"2008-01-11","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"252","Ordinal":"3","NoteData":"2018-10-15","Type":"Other","Title":"Modified"}]}}}