module

Traq admincp/common.php Remote Code Execution

Disclosed
Dec 12, 2011
Created
May 30, 2018

Description

This module exploits an arbitrary command execution vulnerability in
Traq 2.0 to 2.3. It's in the admincp/common.php script.

This function is called in each script located in the /admicp/ directory to
make sure the user has admin rights. This is a broken authorization schema
because the header() function doesn't stop the execution flow.
This can be exploited by malicious users to execute admin functionality,
e.g. execution of arbitrary PHP code leveraging of plugins.php functionality.

Authors

EgiX
TecR0c roccogiovannicalvi@gmail.com

Platform

PHP

Architectures

php

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/multi/http/traq_plugin_exec
msf exploit(traq_plugin_exec) > show targets
...targets...
msf exploit(traq_plugin_exec) > set TARGET < target-id >
msf exploit(traq_plugin_exec) > show options
...show and set options...
msf exploit(traq_plugin_exec) > 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.