| 제목 | uftpd 2.6-2.10 Directory Traversal (Chroot Escape) |
|---|
| 설명 | # 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. |
|---|
| 원천 | ⚠️ https://aaronesau.com/blog/posts/6 |
|---|
| 사용자 | arinerron (UID 4337) |
|---|
| 제출 | 2019. 08. 31. PM 08:36 (7 연령 ago) |
|---|
| 모더레이션 | 2019. 09. 03. AM 07:09 (2 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 141191 [uftpd 2.6-2.10 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|