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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-45745 PoC — Bludit 跨站脚本漏洞

Source
Associated Vulnerability
Title:Bludit 跨站脚本漏洞 (CVE-2021-45745)
Description:Bludit是一套开源的轻量级博客内容管理系统(CMS)。 Bludit 3.13.1版本存在跨站脚本漏洞,该漏洞源于软件的登录面板的About插件缺少有效的过滤和转义,导致存储型跨站点脚本漏洞。
Description
CVE-2021-45745 - A Stored Cross Site Scripting (XSS) vulnerability exists in Bludit 3.13.1 via the About Plugin in login panel. Application stores attacker injected dangerous JavaScript in to the database and executes without validating.
Readme
# CVE-2021-45745

### Exploit Title: Bludit 3.13.1 - About Plugin Stored Cross Site Scripting (XSS)
### Exploit Author: <a href="https://www.plsanu.com">P.L.Sanu</a>
### CVE: CVE-2021-45745
### CVSS: 5.4 MEDIUM
### References: 
- https://www.plsanu.com/bludit-3-13-1-about-plugin-stored-cross-site-scripting-xss
- https://nvd.nist.gov/vuln/detail/CVE-2021-45745
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45745

### Description:
A Stored Cross Site Scripting (XSS) vulnerability exists in Bludit
3.13.1 via the About Plugin in login panel. Application stores attacker injected dangerous JavaScript in to the database and executes without validating.

### Exploit:
1. Login to the admin panel http://localhost/admin
2. Navigate to Themes section.
3. Activate the Blog X theme.
4. Navigate to plugins section.
5. In About plugin click the Settings button.
5. Inject the below payload in About section.

### Payload:
```html
"><script>alert("XSS")</script>
```

7. Click on Save button.
8. Visit the site.
9. Malicious javascript code triggered.

### Impact:
An attacker can able to inject malicious JavaScript code in About Plugin.

### Mitigation:
It is recommended to sanitize all the input fields throughout the application.
File Snapshot

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