提出 #83: uftpd 2.6-2.10 Directory Traversal (Chroot Escape)情報

タイトル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`. ![dir trav](https://aaronesau.com/files/blog/uftpd-handle_MKD.png) ## 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日 20:36 (7 年 ago)
モデレーション2019年09月03日 07:09 (2 days later)
ステータス承諾済み
VulDBエントリ141191 [uftpd 2.6-2.10 ディレクトリトラバーサル]
ポイント20

Do you want to use VulDB in your project?

Use the official API to access entries easily!