Advisory ID: HTB23177
Product: appRain
Vendor: appRain
Vulnerable Version(s): 3.0.2 and probably prior
Tested Version: 3.0.2
Advisory Publication: October 9, 2013 [without technical details]
Vendor Notification: October 9, 2013=20
Public Disclosure: November 6, 2013=20
Vulnerability Type: SQL Injection [CWE-89]
CVE Reference: CVE-2013-6058
Risk Level: High=20
CVSSv2 Base Score: 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Solution Status: Solution Available
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://w=
ww.htbridge.com/advisory/ )=20
---------------------------------------------------------------------------=
--------------------
Advisory Details:
High-Tech Bridge Security Research Lab discovered vulnerability in appRain,=
which can be exploited to perform SQL Injection attacks.
1) Blind SQL Injection in appRain: CVE-2013-6058
The vulnerability is caused by insufficient validation of user-supplied dat=
a appended to "/blog-by-cat/" URL. Remote attacker can execute arbitrary SQ=
L commands to read, modify or delete information in application's database=
=2E
The following exploitation example will display all posts from category 1, =
if the MySQL Server version is 5.x, otherwise no posts will be displayed:
http://[host]/blog-by-cat/1%20and%20substring(version(),1,1)=3D5/
---------------------------------------------------------------------------=
--------------------
Solution:
Vendor did not reply to 5 notifications by email, 1 notification by twitter=
, 1 forum thread. Currently we are not aware of any official solution for t=
his vulnerability.
Unofficial patch was developed by High-Tech Bridge Security Research Lab an=
d is available here: https://www.htbridge.com/advisory/HTB23177-patch.zip
---------------------------------------------------------------------------=
--------------------
References:
[1] High-Tech Bridge Advisory HTB23177 - https://www.htbridge.com/advisory/=
HTB23177 - SQL Injection in appRain.
[2] appRain - http://www.apprain.com/ - appRain is a platform to build your=
web base application.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - in=
ternational in scope and free for public use, CVE=C2=AE 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 wea=
kness types.
[5] ImmuniWeb=C2=AE - http://www.htbridge.com/immuniweb/ - is High-Tech Bri=
dge's proprietary web application security assessment solution with SaaS de=
livery model that combines manual and automated vulnerability testing.
---------------------------------------------------------------------------=
--------------------
Disclaimer: The information provided in this Advisory is provided "as is" a=
nd without any warranty of any kind. Details of this Advisory may be update=
d in order to provide as accurate information as possible. The latest versi=
on of the Advisory is available on web page [1] in the References.