module

Github Enterprise Default Session Secret And Deserialization Vulnerability

Disclosed
2017-03-15
Created
2018-05-30

Description

This module exploits two security issues in Github Enterprise, version 2.8.0 - 2.8.6.
The first is that the session management uses a hard-coded secret value, which can be
abused to sign a serialized malicious Ruby object. The second problem is due to the
use of unsafe deserialization, which allows the malicious Ruby object to be loaded,
and results in arbitrary remote code execution.

This exploit was tested against version 2.8.0.

Authors

iblue iblue@exablue.de
sinn3r sinn3r@metasploit.com

Platform

Linux

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/linux/http/github_enterprise_secret
msf exploit(github_enterprise_secret) > show targets
...targets...
msf exploit(github_enterprise_secret) > set TARGET < target-id >
msf exploit(github_enterprise_secret) > show options
...show and set options...
msf exploit(github_enterprise_secret) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.