| tiêu đề | uftpd 2.6-2.10 Directory Traversal (Chroot Escape) |
|---|
| Mô tả | # Directory Traversal (Chroot Escape)
## Description
It is possible for an unauthenticated user to perform a directory traversal attack using multiple different FTP commands and read and write to arbitrary locations on the filesystem due to the lack of a well-written chroot jail in `compose_abspath`.

## Reproduction Steps
To reproduce this vulnerability, connect via `netcat <ip> <port>` and write to the FTP server socket the following:
```
MKD ../../../../../tmp/itworked
```
Then, `ls /tmp/itworked` from terminal to verify that the folder was created.
## Mitigation
Properly sanitize paths. |
|---|
| Nguồn | ⚠️ https://aaronesau.com/blog/posts/6 |
|---|
| Người dùng | arinerron (UID 4337) |
|---|
| Đệ trình | 31/08/2019 20:36 (cách đây 7 những năm) |
|---|
| Kiểm duyệt | 03/09/2019 07:09 (2 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 141191 [uftpd 2.6-2.10 duyệt thư mục] |
|---|
| điểm | 20 |
|---|