Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:43425
HistorySep 29, 2023 - 8:48 a.m.

Arbitrary File Overwrite

2023-09-2908:48:13
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
5
vulnerability
croc protocol
arbitrary file overwrite
file transfer
validation
attacker
zip archive
software

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

EPSS

0.001

Percentile

31.7%

github.com/schollz/croc is vulnerable to Arbitrary File Overwrite. The vulnerability is due to the Croc protocol allowing a sender to specify an arbitrary path for the file transfer, which lacks validation to check if the file path will overwrite an existing file on the client side. An attacker can exploit this to overwrite files beyond the intended directory by crafting malicious paths inside the ZIP archive.

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

EPSS

0.001

Percentile

31.7%