CVE-2008-0252
Cherrypy vulnerability
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
Cherrypy. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cherrypy runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/28354 · Vendor Advisory
- www.cherrypy.org/changeset/1774 · Exploit
- www.cherrypy.org/changeset/1775 · Exploit
- www.cherrypy.org/changeset/1776 · Exploit
- www.cherrypy.org/ticket/744 · Exploit
- secunia.com/advisories/28353
- secunia.com/advisories/28611
- secunia.com/advisories/28620
- nvd.nist.gov/vuln/detail/CVE-2008-0252
- cve.org/CVERecord?id=CVE-2008-0252
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.