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-2026-30345 — Proof-of-concept exploit for CVE-2026-30345, an arbitrary file write in CTFd backup import, enabling persistent backdoor via .bashrc. | Kitploit
Tools/GitHubGitHub/syphonetic/cve-2026-30345
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingPayload Development
GitHubsyphonetic/cve-2026-30345

CVE-2026-30345

Proof-of-concept exploit for CVE-2026-30345, an arbitrary file write in CTFd backup import, enabling persistent backdoor via .bashrc.

View Repository
55 months 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-2026-30345 Proof of Concept

Arbitrary file write vulnerability in CTFd < 3.8.2 backup import functionality.

Quick Start

Before running cve_2026_30345_bashrc_poc.py

Make sure to update the values accordingly for your exploit. Values such as RHOST, ATTACKER IP or PORT, and the credentials used for the exploitation.

Usage

root@kitploit:~
python cve_2026_30345_bashrc_poc.py

Troubleshooting

Import Fails with "db folder is missing"

Problem: You didn't include a legitimate db/ export.

Solution: Export from your CTFd instance first (see Step 1).

Import Fails with "inappropriate database version"

Problem: You used a db/ folder from a different CTFd version.

Solution: Export from the EXACT CTFd instance you're testing.

Import Succeeds but No Reverse Shell

Problem: Admin hasn't opened a new shell yet.

Solution: Force trigger in development environment:

root@kitploit:~
docker exec -it ctfd bash

The .bashrc runs immediately when bash starts.

Affected Versions

  • Vulnerable: CTFd < 3.8.2
  • Patched: CTFd ≥ 3.8.2

Impact

  • ✅ Arbitrary file write as CTFd process user (typically root)
  • ✅ Persistent backdoor via .bashrc
  • ✅ Survives container restarts
  • ✅ Files persist on host via bind mounts

Disclaimer

This proof of concept is provided for educational and authorized security testing purposes only. Unauthorized access to computer systems is illegal. Use only on systems you own or have explicit written permission to test.

References

  • CTFd Repository: https://github.com/CTFd/CTFd
Download Tool