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/ekultek/cve-2019-7216
ReconnaissanceVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubekultek/cve-2019-7216

CVE-2019-7216

Filechucker filter bypass Proof Of Concept

View Repository
1077 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-2019-7216 — Filechucker filter bypass Proof Of Concept | Kitploit

CVE-2019-7216

In filechucker.cgi version 5.09 and filechucker_prefs.cgi version 4.99e-free-e02 there is a filter bypass, upon upload, that can lead to remote code execution providing that the user uploads a malicious file.

The bypass occurs when filechucker attempts to filter out the file extension and test against filechucker_prefs configuration of non-acceptable extensions:

root@kitploit:~
$PREF{only_allow_these_file_extensions}			= '';
$PREF{disallow_these_file_extensions}			= '.exe .php .php3 .php4 .php5 .phtml .cgi .pl .sh .py .js .htaccess .htpasswd .cmd .bat .ftpquota';
$PREF{allow_files_without_extensions}			= 'yes';
$PREF{disallow_these_strings_within_filenames}		= '\.php \.asp \.cgi \.pl$ \.plx torrent dvdrip'; # can include regexes, so periods must be escaped.  must be in single quotes.#

The above is the default configuration when first downloaded. as you can see certain file extensions are not allowed. The bypass occurs when you append one of three things to the file name:

  • .%%<EXT>
  • .%<EX>%<T>
  • %2E.%<EXT>

The first and third do not always work the second is almost guaranteed to work successfully. For example if we have the filename 491f21bfbe8fc71eafc9ed76565b0bb4.%ph%p once filtered through the above the filename will be uploaded as 491f21bfbe8fc71eafc9ed76565b0bb4.php.

Dorks

There are a couple Google dorks to allow you to find the filechucker.cgi file.

  • inurl:filechucker.cgi
  • inurl:/cgi-bin/filechucker

Proof Of Concept

The below video is a proof of concept taken on encodables website (the demo):

to_video

Download Tool