Description
C-Kermit 8.0.200 before 11.1.515 contains a path traversal vulnerability in doftpget() in ckcftp.c that allows malicious FTP servers to write files outside the intended directory. Attackers can return absolute paths, tilde names, or dot-dot components in NLST or MLSD listings during MGET /RECURSIVE to overwrite files like .bashrc, leading to code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| kermitproject | C-Kermit | 8.0.200 <11.1.515 | — |
References
- https://github.com/OpenKermit/ckermit/security/advisories/GHSA-vhrv-7jrq-95qj
- https://github.com/OpenKermit/ckermit/commit/9b1809b2ce2bcec08b7285deb1b7f0bcbef6a052
- https://github.com/OpenKermit/ckermit/releases/tag/v11.1.515
- https://github.com/OpenKermit/ckermit/blob/v11.0.514/ckcftp.c#L7668
- https://www.vulncheck.com/advisories/c-kermit-8.0.200-before-11.1.515-path-traversal-via-ftp-mget-recursive