module

Ajenti auth username Command Injection

Disclosed
2019-10-14
Created
2019-12-01

Description

This module exploits a command injection in Ajenti == 2.1.31.
By injecting a command into the username POST parameter to api/core/auth, a shell can be spawned.

Authors

Jeremy Brown
Onur ER onur@onurer.net

Platform

Python

Architectures

python

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/unix/webapp/ajenti_auth_username_cmd_injection
msf exploit(ajenti_auth_username_cmd_injection) > show targets
...targets...
msf exploit(ajenti_auth_username_cmd_injection) > set TARGET < target-id >
msf exploit(ajenti_auth_username_cmd_injection) > show options
...show and set options...
msf exploit(ajenti_auth_username_cmd_injection) > 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.