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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2026-45140 — CVE-2026-45140 的披露包和 PoC 脚本,该漏洞是 Chamilo LMS CStudio 上传中的未认证路径遍历和 RCE,附带回环 Docker 实验环境和补丁指导。 | Kitploit
工具/GitHubGitHub/abraxas/cve-2026-45140
漏洞扫描器漏洞分析漏洞利用Web应用程序漏洞利用Web安全渗透测试学习与教育实验室与实践
GitHubabraxas/cve-2026-45140

CVE-2026-45140

CVE-2026-45140 的披露包和 PoC 脚本,该漏洞是 Chamilo LMS CStudio 上传中的未认证路径遍历和 RCE,附带回环 Docker 实验环境和补丁指导。

查看仓库
9小时39分前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Abraxas Labs — CVE-2026-45140

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  CVE-2026-45140

CVE-2026-45140

Chamilo LMS 2.0.0 — chamilo

Chamilo LMS 是一个开源学习管理系统。在 2.0.1 之前,Chamilo LMS 允许未经身份验证的远程攻击者在服务器上执行任意代码。权威公告未指明受影响的端点、组件、输入或利用机制。此问题已在 2.0.1 版本中修复。

CVECVE-2026-45140 · CVE.org
CWECWE-22, CWE-94, CWE-219, CWE-434
CVSS严重:9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
产品Chamilo LMS
受影响所有版本 至 2.0.0(含)
已修补2.0.1 及更高版本
认证无(见源码映射)
许可证GNU Affero GPL v3.0
实验室仅限 127.0.0.1 · 供应商/客户披露包,非扫描器

公告(来自源码映射)

CStudio 上传是 PHP 文件 big-upload.php,而非 Symfony action=。HTTP 就是该插件路径。


入口

  • 方法: POST
  • 路径: /plugin/CStudio/editor/import-project/inc/big-upload.php?action=upload&key=../../../../public/poc-witness.txt
  • 路由: 未认证的 CStudio BigUpload。GET/POST 的 key 被拼接到 cacheDir/cstudio_upload/ 上,未做任何清理。action=upload 将 php://input 追加到该处。通过路径遍历到达 public/poc-witness.txt。然后 GET /poc-witness.txt。
  • 备注: CVE-2026-45140 CWE-22/434/94:public/plugin/CStudio/editor/import-project/inc/big-upload.php 在 2.0.0 中没有 api_get_user_id()。2.0.1 添加了 403 + disable_dangerous_file。见证内容是 GET /poc-witness.txt 中的 POCWitness45140(纯文本)。不是 shell。上传的 fopen() 使用追加模式;同一个 .php 文件中的第二个 <?php 标签会导致解析错误,因此实验室见证文件为 .txt。

调用链

  • POST /plugin/CStudio/editor/import-project/inc/big-upload.php?action=upload&key=../../../../public/poc-witness.txt body=POCWitness45140
  • BigUpload::setTempName(key) + uploadFile() fopen(cache/cstudio_upload/ + key)
  • GET /poc-witness.txt → POCWitness45140

实验室前置条件

  • 已安装 Chamilo LMS 2.0.0(APP_INSTALLED=1,settings 表行 chamilo_database_version)
  • public/plugin/CStudio 下存在 CStudio 插件文件
  • Apache 文档根目录为 public/
  • var/cache 可写

见证内容

GET /poc-witness.txt 的响应体包含 POCWitness45140。首页 HTML 或安装重定向不是文件写入的见证内容。

非成功

  • 通用的 200 Chamilo 首页 HTML
  • 302 重定向到 /main/install/index.php
  • 403 Forbidden(已修补的 2.0.1)
  • 反弹 shell 或出站连接
  • system()/exec() PHP 载荷

补丁 / 修复

首先执行此操作: 将 Chamilo LMS 更新到 2.0.1 或更新版本。

升级后验证

  • 针对已修补的构建重新运行 CVE-2026-45140-Abraxas-Labs.py:映射的见证内容必须不出现。
  • 确认部署树中的供应商公告 / 变更集(见参考资料)。
  • WAF 签名是延迟措施,不是补丁。

如果无法立即更新

  • 禁用或隔离受影响的组件。
  • 在生产环境中搜寻见证条件(新的特权用户、意外文件、注入的行——即此 CVE 映射所指的任何内容)。

复现(授权实验室)

仅针对 http://127.0.0.1:8088(或你绑定的回环地址)。不要将此脚本指向互联网。

root@kitploit:~
python3 CVE-2026-45140-Abraxas-Labs.py

成功即响应体中出现上述见证内容。通用的 200 HTML 不是。


实验室镜像

用于复现的回环栈。除非此文件夹中的 Dockerfile 从源码构建,否则使用官方镜像。

  • lab/docker-compose.yml
  • lab/Dockerfile
root@kitploit:~
cd lab
docker compose up --force-recreate

如果 YAML 挂载了本地目录(来自版本表的插件 zip / 源码标签),请将存在漏洞的产品树绑定到 Compose 旁边。除 127.0.0.1 外不要发布任何内容。


参考资料

  • CVE-2026-45140 · NVD

  • CVE-2026-45140 · CVE.org

  • github.com/chamilo/chamilo-lms/commit/4bdba1b9a8820bd70c0809317775d7f6eaa79844

  • github.com/chamilo/chamilo-lms/releases/tag/v2.0.1

  • github.com/chamilo/chamilo-lms/security/advisories/GHSA-g4c3-4g96-6g4m

  • github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45140.json

  • nvd.nist.gov/vuln/detail/CVE-2026-45140

  • github.com/advisories/GHSA-g4c3-4g96-6g4m

  • Abraxas Labs: abraxaslabs.tech · github.com/abraxas · @abraxas_null


记录(结构化)

root@kitploit:~
# CVE-2026-45140  (structured records)

- input: `https://nvd.nist.gov/vuln/detail/CVE-2026-45140`
- CWE: CWE-22, CWE-94, CWE-219, CWE-434
- published: 2026-09-17T21:17:12.440

## NVD description

Chamilo LMS is an open-source learning management system. Prior to 2.0.1, Chamilo LMS allows an unauthenticated remote attacker to execute arbitrary code on the server. The authoritative advisory does not identify the affected endpoint, component, input, or exploitation mechanism. This issue is fixed in version 2.0.1.

## MITRE description

Chamilo LMS is an open-source learning management system. Prior to 2.0.1, Chamilo LMS allows an unauthenticated remote attacker to execute arbitrary code on the server. The authoritative advisory does not identify the affected endpoint, component, input, or exploitation mechanism. This issue is fixed in version 2.0.1.

## Affected

- chamilo chamilo-lms < 2.0.1 affected
- OSV: 

## References (JSON sources only)

- https://github.com/chamilo/chamilo-lms/commit/4bdba1b9a8820bd70c0809317775d7f6eaa79844
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.1
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-g4c3-4g96-6g4m
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45140.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-45140
- https://github.com/advisories/GHSA-g4c3-4g96-6g4m

## GitHub advisory

Chamilo LMS CStudio upload flow allows unauthenticated remote code execution

### Impact
Ability to run arbitrary code on the server without authentication.

## OSV

Chamilo LMS CStudio upload flow allows unauthenticated remote code execution

Chamilo LMS is an open-source learning management system. Prior to 2.0.1, Chamilo LMS allows an unauthenticated remote attacker to execute arbitrary code on the server. The authoritative advisory does not identify the affected endpoint, component, input, or exploitation mechanism. This issue is fixed in version 2.0.1.

许可证

本披露包依据 GNU Affero General Public License v3.0 许可。见 LICENSE。


免责声明

本包仅供供应商、站点所有者及授权实验室使用。该脚本与 127.0.0.1 通信。将其用于你并不拥有的系统未获 Abraxas Labs 授权。不提供任何担保。

abraxaslabs.tech · github.com/abraxas · @abraxas_null

下载工具