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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-46361 PoC — Magnolia CMS 安全漏洞

Source
Associated Vulnerability
Title:Magnolia CMS 安全漏洞 (CVE-2021-46361)
Description:Magnolia CMS是瑞士Magnolia公司的一个应用程序。提供一个网站建设框架 Magnolia CMS v6.2.11及以下版本存在安全漏洞,该漏洞允许攻击者可利用该漏洞绕过安全限制,通过精心设计的Freemark负载执行任意代码。
Description
CVE-2021-46361: FreeMarker Restriction Bypass in Magnolia CMS
Readme
# CVE-2021-46361: FreeMarker Restriction Bypass in Magnolia CMS

An issue in the FreeMarker Filter of Magnolia CMS v6.2.11 and below allows attackers to bypass security restrictions and execute arbitrary code via a crafted FreeMarker payload.

### Vendor Disclosure:

The vendor's disclosure and fix for this vulnerability can be found [here](https://docs.magnolia-cms.com/product-docs/6.2/Releases/Release-notes-for-Magnolia-CMS-6.2.12.html#_security_advisory).

### Proof Of Concept:

More details and the exploitation process can be found in this [PDF](https://github.com/mbadanoiu/CVE-2021-46361/blob/main/Magnolia%20CMS%20-%20CVE-2021-46361.pdf).

### Additional Resources:

The SSTI gadget used to escape the FreeMarker sandbox was inspired from this [article](https://www.synacktiv.com/publications/exploiting-cve-2021-25770-a-server-side-template-injection-in-youtrack) by [Vincent Herbulot of Synacktiv](https://www.synacktiv.com/en/our-team/pentest)
File Snapshot

[4.0K] /data/pocs/50ad9fb418592be52e356a5f1f130e8cd50c2059 ├── [2.5M] Magnolia CMS - CVE-2021-46361.pdf └── [ 960] README.md 0 directories, 2 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.