• Stars
    star
    183
  • Rank 210,154 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 5 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

One stop place for exploiting Jira instances in your proximity

Jiraffe

Jiraffe
Jiraffe - One stop place for exploiting all Jira instances in your proximity

Installation Β Β Β |Β Β Β  Usage Β Β Β |Β Β Β  Demo Β Β Β |Β Β Β  Documentation

Features

Jiraffe is a semi-automatic security tool written for exploiting Jira instances.

What's included?

  • Interactive shell
  • Modular core
  • Pre-built exploits (see the table below)
  • Intelligent payload generator
  • Jira instance, Amazon AWS platform detection and banner grabbing
  • Pre-configured AWS Credentials & User Data Extraction

Installation

Use pip to install Jiraffe. This is the recommended way of running Jiraffe.

$ pip install jiraffe

or, installing from the source by running

# clone the repo
$ git clone https://github.com/0x48piraj/jiraffe.git

# change the working directory to jiraffe
$ cd jiraffe

# install the jiraffe python package
$ python3 setup.py install

Usage

$ python3 -m jiraffe
usage: jiraffe [-h] [-t https://example-jira-instance.com]


                                                                           /)/)
                                                                          ( ..\
      ___  __      _______        __       _______   _______   _______    /'-._)
     |"  ||" \    /"      \      /""\     /"     "| /"     "| /"     "|  /#/
     ||  |||  |  |:        |    /    \   (: ______)(: ______)(: ______) /#/  @0x48piraj
     |:  ||:  |  |_____/   )   /' /\  \   \/    |   \/    |   \/    |
  ___|  / |.  |   //      /   //  __'  \  // ___)   // ___)   // ___)_
 /  :|_/ )/\  |\ |:  __   \  /   /  \\  \(:  (     (:  (     (:      "|
(_______/(__\_|_)|__|  \___)(___/    \___)\__/      \__/      \_______)


Options:
  -t https://example-jira-instance.com, --target https://example-jira-instance.com
                        Target Jira Instance URL
  -v, --verbose         Verbose output
  -a, --auto            Automatic mode

Exploits

CVE Impact Description Version Affected Details
CVE-2017-9506 HIGH The 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.5 CVE-2017-9506
CVE-2019-8449 LOW The /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.4 CVE-2019-8449
CVE-2019-11581 CRITICAL Atlassian JIRA Template injection vulnerability RCE Jira < 7.6.14 CVE-2019-11581
CVE-2019-8451 HIGH Pre-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.0 CVE-2019-8451

Majority 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 additional Custom Payload Option for sending crafted payloads for any cloud platform (Amazon AWS, Google Cloud, etc.). For sending custom payloads, take help from PayloadsAllTheThings β€” SSRF URL for Cloud Instances. Feel free to implement more post exploitation modules for vendor specifc deployments. For looking under the hood, read wiki.

Demonstration

Jiraffe Demo

Tests

The 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 -m unittest --verbose # Python 3 and up

DISCLAMER

This project is a personal 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 at The 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.

Licensing

This project is licensed under the MIT license.

More Repositories

1

fadblock

Friendly Adblock for YouTube: A fast, lightweight, and undetectable YouTube Ads Blocker for Chrome, Opera and Firefox.
CSS
2,401
star
2

incarcero

Incarcero is a tool that creates Virtual Machines (VMs) preconfigured with malware analysis tools and security settings tailored for malware analysis without any user interaction.
Pascal
92
star
3

countdown

Countdown to throw on a big screen for the New Year's Eve with FOSSASIA πŸŽ‰
JavaScript
20
star
4

CVE-2019-14339

POC for CVE-2019-14339 Canon PRINT 2.5.5
Java
14
star
5

contre-sozial

Breaking the 'doomscrolling' cycle with Contre Sozial.
Shell
14
star
6

0x48piraj.github.io

My Open Source Journey
CSS
11
star
7

aos

Aroma of the Songs β€” Visualizing music in the form of intricate rose petals using moving cube traces.
JavaScript
11
star
8

FlaskScrapper

Flask/Python: Create a Flask app with a Simple Form
Python
8
star
9

py4e-pwn

Gaming the py4e (Python for Everybody) platform (auto-grader) developed by Charles Severance (csev)
JavaScript
7
star
10

BubblePoke

BubblePoke. Poke it to soak it.
Java
7
star
11

MusFi

MusFi β€” Transmitting Music over the Visible Light Spectrum
7
star
12

fossbot

Helper bot in guiding new @fossasia contributors | @GCI 2017
CoffeeScript
6
star
13

medium-cli

CLI for medium.
JavaScript
6
star
14

EmberCalculator

A semi-scientific Calculator. My first ember.js application πŸš€πŸ”₯
HTML
6
star
15

Geeky-Resume

"I'm a geek!" Resume !
JavaScript
6
star
16

AskIITians-POC

Exposing all the study materials on askiitians.com via scrapping. Date of the finding : 5/3/2017
Python
5
star
17

cryp70n1c

krypt0 for fun.
5
star
18

rqmts

rqmts - Generate pip requirements.txt file for any project
Python
5
star
19

PwnHouse

Collection of hand-crafted exploit PoCs (proof-of-concepts) for public Common Vulnerabilities and Exposures (CVE), 1-day vulnerabilities & maybe 0-days.
HTML
5
star
20

chatulator

A website that simulates a chat conversation.
JavaScript
5
star
21

wrong8007

Wrong Boot OS (Wrong8007) is an equivalent of a burner phone.
C
5
star
22

GSSoC-Mentorship

Re-designed Landing Page for GirlScript Summer Of Code 2018 - Mentorship Program
HTML
4
star
23

MBDyn-Code-In

4
star
24

100-AA

100 Days of Algorithmic Art: Creating 100 generative visual art pieces before the end of the 2021.
JavaScript
4
star
25

BF-F

Browser Fingerprinting Framework in addition to bots and Ad blocking detection.
JavaScript
4
star
26

gz-bomb

Web-based "Zip bomb" which eats up all the memory and kills web browsers, scanners and bots.
Go
4
star
27

WannaLaugh

WannaLaugh at WannaCry ? WannaCry Ransomware Protection - Keep your Computer Safe !
3
star
28

wapparalyser

Fuzzing and fooling Wappalyzer. Released at BSides Delhi 2019.
Python
2
star
29

worg

Lexicon augmentation for machine learning.
2
star
30

collider-ng

Collider-ng: A simple, fast tool for hash collisions and exploitation, featuring a built-in hash identifier, ideal for CTFs and pentesting.
Rust
2
star
31

TestYourCode

A website where you can write the different components(HTML, CSS and JavaScript) and view live the result of the changes on the same page. πŸš€πŸš€πŸš€
HTML
2
star
32

git-learn

Introduction to Git, knowing Git, understanding, not memorizing Git.
1
star
33

MOOCert

Certificate Generator for MOOCs
1
star
34

con-tract

Hacking the hackers with seemingly vulnerable smart contracts.
Solidity
1
star
35

switch

JavaScript
1
star
36

Construe

A Collaborative Medical Imaging Dataset Annotation web-based tool for AI
JavaScript
1
star
37

pirate

Ο€rate β€” Your Privacy Is a Thing of the Past.
HTML
1
star
38

codeheat-cli

A CLI for CodeHeat. Get all the information you need about CodeHeat.
Python
1
star
39

DomRadar

Lightning fast Python tool for discovering available domain names.
Python
1
star
40

Fractalverse

A tour in the wonderland of deterministic, random and natural fractals with python.
Python
1
star
41

SimpChat

SimpChat: A secure and safe messaging system.
PHP
1
star