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-2022-44268-MagiLeak — Tools for working with ImageMagick to handle arbitrary file read vulnerabilities. Generate, read, and apply profile information to PNG files using a command-line interface. | Kitploit
Tools/GitHubGitHub/adhikara13/cve-2022-44268-magileak
Vulnerability AnalysisExploitationWeb Application ExploitationPapers & ResearchLearning & Education
GitHubadhikara13/cve-2022-44268-magileak

CVE-2022-44268-MagiLeak

Tools for working with ImageMagick to handle arbitrary file read vulnerabilities. Generate, read, and apply profile information to PNG files using a command-line interface.

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

ImageMagick Arbitrary Read Files - CVE-2022-44268

This repository contains a proof-of-concept (PoC) code for exploiting the arbitrary file read vulnerability (CVE-2022-44268) in ImageMagick. The PoC demonstrates how an attacker can leverage the vulnerability to read arbitrary files on the system.

Prerequisites

To run the code, ensure that you have the following dependencies installed:

  • Python 3.x
  • Pillow (Python Imaging Library)

You can install the necessary dependencies using pip:

root@kitploit:~
pip install pillow

Usage

The PoC code provides three main functionalities: generate, read, and apply.

Generate

Generate a PoC PNG file with embedded profile information.

root@kitploit:~
python3 magileak.py generate -l [local_file] -o [output_file]
  • [local_file]: Path to the local file that we want to extract.
  • [output_file]: Path to the output PNG file.
  • Read

    Read and decode the profile type from a PNG file.

    root@kitploit:~
    python3 magileak.py read -i [input_file]
    
    • [input_file]: Path to the input PNG file.

    Apply

    Apply profile information to a PNG file.

    root@kitploit:~
    python3 magileak.py apply -i [input_file] -l [local_file]
    
    • [input_file]: Path to the input PNG file.
    • [local_file]: Path to the local file that we want to extract.

    Disclaimer

    This code is provided for educational and demonstration purposes only. Use it responsibly and at your own risk. The author and contributors of this repository are not responsible for any misuse or damage caused by this code.

    References

    • CVE-2022-44268: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-44268
    • ImageMagick: https://imagemagick.org/
    • Sybil-Scan https://github.com/Sybil-Scan/imagemagick-lfi-poc/tree/main
    Download Tool