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-2021-41277_SSRF — Proof-of-concept demonstrating SSRF and LFI in Metabase versions < 0.40.5 (CVE-2021-41277), including internal network scanning and access to cloud metadata endpoints. | Kitploit
Tools/GitHubGitHub/sasukeourad/cve-2021-41277_ssrf
ReconnaissanceVulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration Testing
GitHubsasukeourad/cve-2021-41277_ssrf

CVE-2021-41277_SSRF

Proof-of-concept demonstrating SSRF and LFI in Metabase versions < 0.40.5 (CVE-2021-41277), including internal network scanning and access to cloud metadata endpoints.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

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

CVE-2021-41277_SSRF

CVE-2021-41277 can be extended to an SSRF

Description

Metabase is an open source data analytics platform. Metabase versions < 0.40.5 were affected by CVE-2021-41277 which led to local file inclusion according to the CVE description.

While analyzing the finding described in Metabase Security Advisory and diffing the code, it seemed that it can be extended to an SSRF since URL Schemas were not filtered.

POC || GTFO

First test is to try to call an external server. This would be successfully performed as shown below. A Metabase instance would call an external server. IMAGE ALT TEXT HERE

Second test is to scan the internal network. It starts with making use of the LFI to identify the network:

IMAGE ALT TEXT HERE

Then, various IP addresses, ports can be probed to identify running services

IMAGE ALT TEXT HERE

Third test is to use a different schema. FTP to the resque. This would work too. Though it is important to note that Metabase does a good job forcing the response Content-Type which avoids escalating this attack to an RCE.

IMAGE ALT TEXT HERE

Finally, this vulnerability allows attackers to reach internal AWS, google cloud pages which can leak sensitive information as shown below:

IMAGE ALT TEXT HERE

IMAGE ALT TEXT HERE

Note!

This was responsibly disclosed to Metabase. I appreciate the response and professionalism of their security team.

Download Tool