mickael-kerjean/filestash · Security
Filestash configured to skip TLS certificate verification when using the FTPS protocol
- GHSA ID
- GHSA-4jmm-c6jw-g796
- CVE ID
- CVE-2024-41255
- Severity
- high
- Published
- Updated
- CVSS
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Description
filestash v0.4 is configured to skip TLS certificate verification when using the FTPS protocol, possibly allowing attackers to execute a man-in-the-middle attack via the Init function of index.go.
CWEs
- CWE-295 · Improper Certificate Validation
- CWE-453 · Insecure Default Variable Initialization
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-41255 ↗
- https://gist.github.com/nyxfqq/c367f2ca9448810924dcf0f1af30b441 ↗
- https://github.com/mickael-kerjean/filestash/issues/710 ↗
- https://github.com/mickael-kerjean/filestash/blob/master/server/plugin/plg_backend_ftp/index.go#L108 ↗
- https://pkg.go.dev/vuln/GO-2024-3033 ↗
- https://github.com/advisories/GHSA-4jmm-c6jw-g796 ↗