目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-28000 PoC — WordPress Plugin LiteSpeed Cache 安全漏洞

来源
关联漏洞
标题: WordPress Plugin LiteSpeed Cache 安全漏洞 (CVE-2024-28000)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress Plugin LiteSpeed Cache 6.3.0.1及之前版本版本存在安全漏洞,该漏洞源于存在不正确的权限分配漏洞,允许权限提升。
Description
PoC for the CVE-2024 Litespeed Cache Privilege Escalation 
介绍
# CVE-2024-28000 PoC

This repository contains tools for exploiting the CVE-2024-28000 vulnerability affecting WordPress sites using the LiteSpeed Cache plugin. The included scripts automate the detection of exposed debug.log files and the exploitation of a privilege escalation vulnerability that allows unauthorized users to gain administrator-level access. An extensive Documentation on this Vulnerability can be found here: https://patchstack.com/articles/critical-privilege-escalation-in-litespeed-cache-plugin-affecting-5-million-sites?_s_id=cve
# Features

1. checkdebuglog.py

    Purpose: Scans WordPress sites for exposed debug.log files.
    How it Works:
        The script sends HTTP requests to the /wp-content/debug.log endpoint.
        It uses multithreading to efficiently process multiple URLs, determining if the log file is accessible.

2. exploit.py

    Purpose: Exploits a privilege escalation vulnerability in the LiteSpeed Cache plugin.
    How it Works:
        Step 1: The script triggers the generation of a cache file via an AJAX request to the WordPress site, which simulates a LiteSpeed crawler.
        Step 2: It exploits a flaw in the cache or hash mechanism, allowing the attacker to access a privileged session without brute-forcing the hash.
        Step 3: If successful, the attacker can hijack an admin session or gain unauthorized access to administrator functionalities.

# Usage
 Clone the Repository:

```sh
git clone https://github.com/yourusername/CVE-2024-28000.git
cd CVE-2024-28000
```

Run checkdebuglog.py:
```sh
python3 checkdebuglog.py
```
Input: A list of target URLs.
Output: Identifies URLs with exposed debug.log files.

Run exploit.py:
```sh
python3 exploit.py
```
# Mitigation

The vulnerability has been addressed in LiteSpeed Cache plugin version 6.4 and above. Users are strongly encouraged to update to the latest version to mitigate the risk.
# Disclaimer

This tool is intended for educational purposes and authorized security testing only. Unauthorized use of this tool on systems you do not own or have explicit permission to test is illegal and unethical.
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →