提交 #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 年前)
管理2019-09-03 07時09分 (2 days later)
状态已接受
VulDB条目141191 [uftpd 2.6-2.10 目录遍历]
积分20

Might our Artificial Intelligence support you?

Check our Alexa App!