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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-43874 PoC — e017 CMS 跨站脚本漏洞

Source
Associated Vulnerability
Title:e017 CMS 跨站脚本漏洞 (CVE-2023-43874)
Description:e017 CMS是e017的一个内容管理系统。 e017 CMS v.2.3.2版本存在跨站脚本漏洞。攻击者利用该漏洞通过特制的脚本对Meta & Custom Tags Menu中的Copyright和Author字段执行任意代码。
Description
e107 2.3.2 is affected by a Multiple Cross-Site Scripting (XSS) vulnerability that allows attackers to execute arbitrary code via a crafted payload to the Copyright and Author field in the Meta & Custom Tags Menu.
Readme
# e107 CMS Stored XSS v2.3.2

## Author: (Sergio)

**Description:** Multiple Cross Site Scripting (XSS) vulnerability in e017 CMS v.2.3.2 allows a local attacker to execute arbitrary code via a crafted script to the Copyright and Author fields in the Meta & Custom Tags Menu.

**Attack Vectors:** Scripting A vulnerability in the sanitization of the entry in the Copyright and Author fields of "Meta & Custom Tags 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 "Meta & Custom Tags Menu." section off General Menu.

![XSS Payload](https://github.com/sromanhu/e107-CMS-Stored-XSS---MetaCustomTags/assets/87250597/c7a32405-a34a-4166-aa92-c8b554265a5a)



We edit that Settings that we have created and see that we can inject arbitrary Javascript code in the Copyright and Author fields.


### XSS Payload:

```js
'"><svg/onload=alert('Copyright')>
```

### XSS Payload:

```js
'"><svg/onload=alert('Author')>
```


In the following image you can see the embedded code that executes the payload in the main web.

![XSS Result Copyright](https://github.com/sromanhu/e107-CMS-Stored-XSS---MetaCustomTags/assets/87250597/80122e6a-599f-4b9e-a621-1383bc936101)



![XSS Result Author](https://github.com/sromanhu/e107-CMS-Stored-XSS---MetaCustomTags/assets/87250597/2a7db06d-ec46-40ff-ae2a-fe8fd3425741)




</br>

### Additional Information:
https://e107.org/

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

https://owasp.org/www-community/attacks/xss/
File Snapshot

[4.0K] /data/pocs/b6f0ba79ffbea138553f21e31ee513a71f9b5aab └── [1.5K] 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.