Lucene search
+L

CMS Web-Gooroo < 1.141 - Multiple Vulnerabilities

🗓️ 01 Jun 2017 00:00:00Reported by KaimiType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 43 Views

CMS Web-Gooroo <=1.141 - Multiple Vulnerabilities including SQL injection, hardcoded admin user, full path disclosure, and unrestricted file uploa

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2017-18346
3 Jul 201920:29
–circl
cve
CVE
CVE-2017-18346
3 Jul 201916:33
–cve
cvelist
Cvelist
CVE-2017-18346
3 Jul 201916:33
–cvelist
euvd
EUVD
EUVD-2017-9471
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2017-18346
3 Jul 201917:15
–nvd
osv_cve
osv_cve
CVE-2017-18346
3 Jul 201917:15
–osv_cve
prion
Prion
Sql injection
3 Jul 201917:15
–prion
ptsecurity
Positive Technologies
PT-2019-8295
3 Jul 201900:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2017-18346: Improper Neutralization of Special Elements used in an SQL Command
3 Jul 201900:00
–rapid7
# Exploit Title: CMS Web-Gooroo <=1.141 - Multiple Vulnerabilities
# Date: 01-06-2017
# Exploit Author: Kaimi
# Website: https://kaimi.io
# Vendor Homepage: http://web.archive.org/web/20120510194357/http://www.web-gooroo.com/
# Software Link: https://github.com/andrey-buligin/hanna/tree/master/wbg
# Version: <=1.141
# Category: webapps


1. SQL Injection
File: /wbg/core/_includes/authorization.inc.php
Vulnerable code:
$SQL_query = 'SELECT * FROM wbg_users WHERE (login=\'' . $_POST['wbg_login'] . '\') AND (password=\'' . md5(md5($_POST['wbg_password'])) . '\')';
$USER = mysql_fetch_assoc(mysql_query($SQL_query));


2. Hardcoded admin user
File: /wbg/core/_includes/authorization.inc.php
Vulnerable code:
if ((md5($_POST['wbg_login']) == '2d626704807d4c5be1b46e85c4070fec') && (md5($_POST['wbg_password']) == '2967a371178d713d3898957dd44786af')) {
	$USER = $this->get_megaadmin();
}

2d626704807d4c5be1b46e85c4070fec - mayhem
2967a371178d713d3898957dd44786af - no success in bruteforce, though...

3. Full path disclosure
Almost any file, because of lack of input validation and overall bad design.
CMS log file (besides DB log) location with full path and debug info:
/wbg/tmp/logs/syslog.log.php

4. Unrestricted file upload
Can be done via admin panel as attachment to any publication. No file type checking is performed.

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