Rapid7 Vulnerability & Exploit Database

Astium Remote Code Execution

Back to Search

Astium Remote Code Execution

Disclosed
09/17/2013
Created
05/30/2018

Description

This module exploits vulnerabilities found in Astium astium-confweb-2.1-25399 RPM and lower. A SQL Injection vulnerability is used to achieve authentication bypass and gain admin access. From an admin session arbitrary PHP code upload is possible. It is used to add the final PHP payload to "/usr/local/astium/web/php/config.php" and execute the "sudo /sbin/service astcfgd reload" command to reload the configuration and achieve remote root code execution.

Author(s)

  • xistence <xistence@0x90.nl>

Platform

PHP

Architectures

php

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;