Advertisement






PHP Planner 0.4 SQL Injection

CVE Category Price Severity
CVE-XXXX-XXXX CWE-89 $500 High
Author Risk Exploitation Type Date
Unknown High Remote 2016-07-20
CPE
cpe:cpe:/a:php-planner:0.4
CVSS EPSS EPSSP
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2016070160

Below is a copy:

PHP Planner 0.4 SQL InjectionPHP Planner SQL Injection Vulnerability , Discovered by N_A , N_A[at]tutanota.com
=================================================================================


Description
===========

This is a basic PHP Calendar with lots of features and possiblities. Uses 
mySQL as backend and is fitted with an account based system


https://sourceforge.net/projects/phpplanner


Vulnerability
=============

An SQL Injection vulnerability is present within the register.php file of the 
package which results in arbitary command execution.


register.php, snippet of vulnerable code:
=========================================


if (isset($_POST['Submit'], $_POST['email'], $_POST['username'], 
$_POST['password'], $_POST['password2'], $_POST['name']) && 
IsEmailValid($_POST['email'])) {
A A A  A A A  $SQL = mysql_query("SELECT * FROM cal_users WHERE username = '". 
$_POST['username'] ."' OR password = '". MD5($_POST['password']) ."' OR email 
= '". $_POST['email'] ."'");

As we can see the 'username','password' and 'email' variables are passed 
unchecked into the SQL query via the POST method.


email ==> N_A[at]tutanota.com


Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum