Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-40905 PoC — GitLab Enterprise Edition 代码问题漏洞

Source
Associated Vulnerability
Title:GitLab Enterprise Edition 代码问题漏洞 (CVE-2021-40905)
Description:GitLab Enterprise Edition(EE)是美国GitLab公司的一套内容管理系统。 CheckMK Enterprise Edition存在代码问题漏洞,该漏洞源于成功的利用需要使用有效凭据或通过劫持具有管理员角色的用户的会话来访问 Web 管理界面。
Readme
# CVE-2021-40905 - RCE via a crafted .mkp file

**Application:** CheckMK Management Web Console

**Software Revision:** Less than or equal to 2.0.0p17

**Attack type:** RCE

**Solution:** TBD or the MKPs shared on [https://exchange.checkmk.com/] are manually reviewed by CheckMk and they look for malicious code or suspicious imports, etc.

**Summary:** The web management console of CheckMk Enterprise Edition (versions 1.5.0 to 2.0.0p17) does not properly sanitise the uploading of ".mkp" files which are Extension Packages, making remote code execution possible. Successful exploitation requires access to the web management interface, either with valid credentials or with a hijacked session of a user with administrator role.

**Technical Description:** See CVE-2021-40905

**Timeline:**
   * 2021-09-01 Issues discovered.
   * 2021-09-06 First contact with vendor via e-mail.
   * 2021-09-08 Vendor response. RCE vulnerabilities were already detected, and would be patched in the next release.
   * 2022-03-25 Public disclosure.
  

**Reference:**
   * https://exchange.checkmk.com/
   * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40905
   * https://nvd.nist.gov/vuln/detail/CVE-2021-40905


File Snapshot

[4.0K] /data/pocs/c3581219966dfe742d4410c796685358a9bb3637 ├── [ 22K] exploit.txt ├── [810K] RCE-mkp.pdf └── [1.2K] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.