CherryPy 2.1.0/3.0.2 lib/sessions.py _get_file_path path traversal
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in CherryPy 2.1.0/3.0.2. Affected by this vulnerability is the function _get_file_path in the library lib/sessions.py. This manipulation causes path traversal.
This vulnerability appears as CVE-2008-0252. There is no available exploit.
It is suggested to upgrade the affected component.
Details
A vulnerability has been found in CherryPy 2.1.0/3.0.2 and classified as critical. Affected by this vulnerability is the function _get_file_path in the library lib/sessions.py. The manipulation with an unknown input leads to a path traversal vulnerability. The CWE definition for the vulnerability is CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 01/07/2008. The weakness was presented 01/11/2008 (Website). The advisory is shared at cherrypy.org. This vulnerability is known as CVE-2008-0252 since 01/11/2008. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1006 for this issue.
It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 29863 (Fedora 8 : python-cherrypy-2.2.1-8.fc8 (2008-0299)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l.
Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (39444), Tenable (29863), SecurityFocus (BID 27181†), OSVDB (40202†) and Secunia (SA28353†). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Path traversalCWE: CWE-22
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 29863
Nessus Name: Fedora 8 : python-cherrypy-2.2.1-8.fc8 (2008-0299)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 60291
OpenVAS Name: Debian Security Advisory DSA 1481-1 (python-cherrypy)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
10/27/2007 🔍01/07/2008 🔍
01/07/2008 🔍
01/07/2008 🔍
01/11/2008 🔍
01/11/2008 🔍
01/11/2008 🔍
01/11/2008 🔍
02/04/2008 🔍
03/16/2015 🔍
07/30/2021 🔍
Sources
Advisory: 1774Status: Not defined
Confirmation: 🔍
CVE: CVE-2008-0252 (🔍)
GCVE (CVE): GCVE-0-2008-0252
GCVE (VulDB): GCVE-100-40513
OVAL: 🔍
X-Force: 39444
SecurityFocus: 27181 - CherryPy Cookie Session Id Information Disclosure Vulnerability
Secunia: 28353
OSVDB: 40202 - CherryPy - Cookie Session Id Information Disclosure Issue
Vulnerability Center: 17514 - CherryPy Allows Remote Attacker to Traverse Directories via a Crafted Session ID in a Cookie, High
Vupen: ADV-2008-0039
Entry
Created: 03/16/2015 13:43Updated: 07/30/2021 14:31
Changes: 03/16/2015 13:43 (69), 08/04/2019 14:34 (9), 07/30/2021 14:31 (3)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.