FKIE_CVE-2008-0252

Vulnerability from fkie_nvd - Published: 2008-01-12 02:46 - Updated: 2026-06-16 22:49
Severity
Summary
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
cve@mitre.orghttp://secunia.com/advisories/28353
cve@mitre.orghttp://secunia.com/advisories/28354Vendor Advisory
cve@mitre.orghttp://secunia.com/advisories/28611
cve@mitre.orghttp://secunia.com/advisories/28620
cve@mitre.orghttp://secunia.com/advisories/28769
cve@mitre.orghttp://security.gentoo.org/glsa/glsa-200801-11.xml
cve@mitre.orghttp://www.cherrypy.org/changeset/1774Exploit, Patch
cve@mitre.orghttp://www.cherrypy.org/changeset/1775Exploit, Patch
cve@mitre.orghttp://www.cherrypy.org/changeset/1776Exploit
cve@mitre.orghttp://www.cherrypy.org/ticket/744Exploit
cve@mitre.orghttp://www.debian.org/security/2008/dsa-1481
cve@mitre.orghttp://www.securityfocus.com/archive/1/487001/100/0/threaded
cve@mitre.orghttp://www.securityfocus.com/bid/27181
cve@mitre.orghttp://www.vupen.com/english/advisories/2008/0039
cve@mitre.orghttps://bugs.gentoo.org/show_bug.cgi?id=204829
cve@mitre.orghttps://issues.rpath.com/browse/RPL-2127
cve@mitre.orghttps://www.redhat.com/archives/fedora-package-announce/2008-January/msg00240.html
cve@mitre.orghttps://www.redhat.com/archives/fedora-package-announce/2008-January/msg00297.html
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/28353
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/28354Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/28611
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/28620
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/28769
af854a3a-2127-422b-91ae-364da2661108http://security.gentoo.org/glsa/glsa-200801-11.xml
af854a3a-2127-422b-91ae-364da2661108http://www.cherrypy.org/changeset/1774Exploit, Patch
af854a3a-2127-422b-91ae-364da2661108http://www.cherrypy.org/changeset/1775Exploit, Patch
af854a3a-2127-422b-91ae-364da2661108http://www.cherrypy.org/changeset/1776Exploit
af854a3a-2127-422b-91ae-364da2661108http://www.cherrypy.org/ticket/744Exploit
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2008/dsa-1481
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/archive/1/487001/100/0/threaded
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/27181
af854a3a-2127-422b-91ae-364da2661108http://www.vupen.com/english/advisories/2008/0039
af854a3a-2127-422b-91ae-364da2661108https://bugs.gentoo.org/show_bug.cgi?id=204829
af854a3a-2127-422b-91ae-364da2661108https://issues.rpath.com/browse/RPL-2127
af854a3a-2127-422b-91ae-364da2661108https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00240.html
af854a3a-2127-422b-91ae-364da2661108https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00297.html
Impacted products
Vendor Product Version
cherrypy cherrypy *
cherrypy cherrypy *

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "cve@mitre.org"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:cherrypy:cherrypy:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "EF7FEFD4-0529-4FB6-A2FB-A547570B2631",
              "versionEndIncluding": "2.1.0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:cherrypy:cherrypy:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "DD1D10BF-3139-47DE-B745-F0FBECFCD39F",
              "versionEndIncluding": "3.0.2",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "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."
    },
    {
      "lang": "es",
      "value": "Vulnerabilidad de cruce de directorios en la funci\u00f3n _get_file_path de (1) lib/sessions.py en  CherryPy, versiones 3.0.x hasta 3.0.2, (2) filter/sessionfilter.py en CherryPy 2.1, y (3) filter/sessionfilter.py en CherryPy 2.x, permite que atacantes remotos creen o eliminen cualquier fichero, y posiblemente, tambi\u00e9n puedan leer y escribir trozos de cualquier linea, a trav\u00e9s de un id de sesi\u00f3n contenido en una cookie."
    }
  ],
  "id": "CVE-2008-0252",
  "lastModified": "2026-06-16T22:49:15.227",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 7.5,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2008-01-12T02:46:00.000",
  "references": [
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/28353"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/28354"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/28611"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/28620"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/28769"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://security.gentoo.org/glsa/glsa-200801-11.xml"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit",
        "Patch"
      ],
      "url": "http://www.cherrypy.org/changeset/1774"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit",
        "Patch"
      ],
      "url": "http://www.cherrypy.org/changeset/1775"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit"
      ],
      "url": "http://www.cherrypy.org/changeset/1776"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit"
      ],
      "url": "http://www.cherrypy.org/ticket/744"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.debian.org/security/2008/dsa-1481"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/archive/1/487001/100/0/threaded"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/bid/27181"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.vupen.com/english/advisories/2008/0039"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://bugs.gentoo.org/show_bug.cgi?id=204829"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://issues.rpath.com/browse/RPL-2127"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00240.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00297.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/28353"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/28354"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/28611"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/28620"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/28769"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://security.gentoo.org/glsa/glsa-200801-11.xml"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Patch"
      ],
      "url": "http://www.cherrypy.org/changeset/1774"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Patch"
      ],
      "url": "http://www.cherrypy.org/changeset/1775"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit"
      ],
      "url": "http://www.cherrypy.org/changeset/1776"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit"
      ],
      "url": "http://www.cherrypy.org/ticket/744"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2008/dsa-1481"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/archive/1/487001/100/0/threaded"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/27181"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.vupen.com/english/advisories/2008/0039"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugs.gentoo.org/show_bug.cgi?id=204829"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://issues.rpath.com/browse/RPL-2127"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00240.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00297.html"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.