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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-43359 PoC — CMS Made Simple 跨站脚本漏洞

Source
Associated Vulnerability
Title:CMS Made Simple 跨站脚本漏洞 (CVE-2023-43359)
Description:CMS Made Simple(CMSMS)是Cmsms团队的一套开源的内容管理系统(CMS)。该系统支持基于角色的权限管理系统、基于向导的安装与更新机制、智能缓存机制等。 CMS Made Simple v.2.2.18版本存在安全漏洞,该漏洞源于组件Content Manager Menu的Smarty data等参数存在跨站脚本(XSS)漏洞。
Description
Cross Site Scripting vulnerability in CMSmadesimple v.2.2.18 allows a local attacker to execute arbitrary code via a crafted script to Page Specific Metadata and Smarty data in the Content Manager Menu.
Readme
# CMSmadesimple Stored XSS v2.2.18

## Author: (Sergio)

**Description:** Multiple cross-site scripting (XSS) vulnerabilites in CMSmadesimple v.2.2.18 allows a local attacker to execute arbitrary code via a crafted script to the Page Specific Metadata and Smarty data in the Content Manager Menu.

**Attack Vectors:** Scripting A vulnerability in the sanitization of the entry in the "Content Manager Menu" allows injecting JavaScript code that will be executed when the user accesses the web page.

---

### POC:


When logging into the panel, we will go to the "Content- Content Manager Menu." section off General Menu.

![XSS Payload](https://github.com/sromanhu/CMSmadesimple-Stored-XSS----Content-Manager/assets/87250597/e1129886-7c2f-43de-8864-67c80cd800a8)





We edit that Content Manager Menu that we have created and see that we can inject arbitrary Javascript code in the Page Specific Metadata and Smarty data


### XSS Payload:

```js
<object data=javascript&colon;\u0061&#x6C;&#101%72t('Metadata')>
```

```js
<object data=javascript&colon;\u0061&#x6C;&#101%72t('Smarty')>
```

In the following image you can see the embedded code that executes the payload in the main web.
![XSS Resultado 1](https://github.com/sromanhu/CMSmadesimple-Stored-XSS----Content-Manager/assets/87250597/40ac9e97-8da6-4f59-ab25-79fa41b7e25e)



![XSS Resultado](https://github.com/sromanhu/CMSmadesimple-Stored-XSS----Content-Manager/assets/87250597/227cece5-ec50-48e2-8a17-f3ed7c08312c)




</br>

### Additional Information:
http://www.cmsmadesimple.org/

https://owasp.org/Top10/es/A03_2021-Injection/
File Snapshot

[4.0K] /data/pocs/329ed3462a5873686a3f7307414e91abb8217cc4 └── [1.6K] README.md 0 directories, 1 file
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.