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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-43876 PoC — October CMS 跨站脚本漏洞

Source
Associated Vulnerability
Title:October CMS 跨站脚本漏洞 (CVE-2023-43876)
Description:October CMS是一套基于PHP和Laravel Web应用程序框架的开源内容管理系统(CMS)。 October CMS v.3.4.16版本存在跨站脚本漏洞。攻击者利用该漏洞通过注入dbhost字段的特制有效载荷执行任意 Web 脚本。
Description
October CMS 3.4.16 is affected by a Cross-Site Scripting (XSS) vulnerability that allows attackers to execute arbitrary code via a crafted payload in the installation process.
Readme
# October CMS Reflected XSS v3.4.16

## Author: (Sergio)

**Description:** Cross-Site Scripting (XSS) vulnerabilitiy in installation of October v.3.4.16 allows a local attacker to execute arbitrary web scripts via a crafted payload injected into the dbhost field.

**Attack Vectors:** A vulnerability in the installation sanitation in the dbhost field allows JavaScript code to be injected.

---

### POC:


During the installation process we enter the XSS payload in dbhost field and when we click on next, we will obtain the XSS pop-up

### XSS Payload:

```js
'"><svg/onload=prompt('dbhost')>
```

![XSS Dbhost payload](https://github.com/sromanhu/October-CMS-Reflected-XSS---Installation/assets/87250597/d1f9df46-b006-46b0-b357-f5dfca3a032b)


In the following image you can see the embedded code that executes the payload in the instalaltion process.



![dbhost](https://github.com/sromanhu/October-CMS-Reflected-XSS---Installation/assets/87250597/5a91c13b-1d0e-45cc-9c42-0102ca1d1047)



</br>

### Additional Information:

https://octobercms.com/

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

File Snapshot

[4.0K] /data/pocs/4b2300ae0aa7c7ad3c4bd5102f96a2d8401cba18 └── [1.1K] 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.