Package: jiraffe
JiraffeJiraffe - One stop place for exploiting all Jira instances in your proximityInstallation|Usage|Demo|DocumentationFeaturesJiraffe is a semi-automatic security tool written for exploiting Jira instances.What's included?Interactive shellModular corePre-built exploits(see the table below)Intelligent payload generatorJira instance, Amazon AWS platform detection and banner grabbingPre-configured AWS Credentials & User Data ExtractionInstallationUse pip to installJiraffe. This is the recommended way of running Jiraffe.$pipinstalljiraffeor, installing from the source by running# clone the repo$gitclonehttps://github.com/0x48piraj/jiraffe.git# change the working directory to jiraffe$cdjiraffe# install the jiraffe python package$python3setup.pyinstallUsage$python3-mjiraffeusage:jiraffe[-h][-thttps://example-jira-instance.com]/)/)(..\___________________________________/'-._)|"  ||"\/"      \      /""\     /""| /""| /""|  /#/|||||||:|/\(:______)(:______)(:______)/#/  @0x48piraj|:||:||_____/)/' /\  \   \/    |   \/    |   \/    |___|/|.|/////__'  \  // ___)   // ___)   // ___)_/:|_/)/\|\|:__\//\\  \(:((:((:"|(_______/(__\_|_)|__|\___)(___/\___)\__/\__/\_______)Options:-thttps://example-jira-instance.com,--targethttps://example-jira-instance.comTargetJiraInstanceURL-v,--verboseVerboseoutput-a,--autoAutomaticmodeExploitsCVEImpactDescriptionVersion AffectedDetailsCVE-2017-9506HIGHThe IconUriServlet of the Atlassian OAuth Plugin from version 1.3.0 before version 1.9.12 and from version 2.0.0 before version 2.0.4 allows remote attackers to access the content of internal network resources and/or perform an XSS attack via Server Side Request Forgery (SSRF).Jira < 7.3.5CVE-2017-9506CVE-2019-8449LOWThe /rest/api/latest/groupuserpicker resource in Jira before version 8.4.0 allows remote attackers to enumerate usernames via an information disclosure vulnerability.2.1 - 8.3.4CVE-2019-8449CVE-2019-11581CRITICALAtlassian JIRA Template injection vulnerability RCEJira < 7.6.14CVE-2019-11581CVE-2019-8451HIGHPre-authentication server side request forgery (SSRF) vulnerability found in the /plugins/servlet/gadgets/makeRequest resource.Jira == 7.6.0  && Jira.7.6.0 < 7.13.9, 8.4.0CVE-2019-8451Majority of the bugs stated above poses Server-Side Request Forgery (SSRF) vulnerability, where attacker can abuse a specific functionality on the server to read or update internal resources. The attacker can supply or a modify a URL which the code running on the server will read or submit data to, and by carefully selecting the URLs, the attacker may be able to read server configuration such as AWS metadata, connect to internal services like HTTP enabled databases or perform post requests towards internal services which are not intended to be exposed.Currently, some of the common Amazon AWS credentials leak attacks are present with an additionalCustom Payload Optionfor sending crafted payloads for any cloud platform (Amazon AWS, Google Cloud, etc.). For sending custom payloads, take help fromPayloadsAllTheThings — SSRF URL for Cloud Instances. Feel free to implement more post exploitation modules for vendor specifc deployments. For looking under the hood, readwiki.DemonstrationTestsThe tests are next to the package i.e. tests are not part of the package, only of the repository. The reason is simply to keep the package small.Running the unit tests$python3-munittest--verbose# Python 3 and upDISCLAMERThis project is apersonal development. Please respect it's philosophy and don't use it for evil purposes. By using Jiraffe, you agree to the MIT license included in the repository. For more details atThe MIT License — OpenSource.Using Jiraffe for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.LicensingThis project is licensed under the MIT license.