BugTraq
Arbitrary File Upload in HelpDEZk Nov 05 2014 11:57AM
High-Tech Bridge Security Research (advisory htbridge com)
Advisory ID: HTB23239
Product: HelpDEZk
Vendor: HelpDEZk
Vulnerable Version(s): 1.0.1 and probably prior
Tested Version: 1.0.1
Advisory Publication: October 15, 2014 [without technical details]
Vendor Notification: October 15, 2014
Public Disclosure: November 5, 2014
Vulnerability Type: Unrestricted Upload of File with Dangerous Type [CWE-434]
CVE Reference: CVE-2014-8337
Risk Level: Critical
CVSSv2 Base Score: 10 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
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 vulnerability in HelpDEZk, which can be exploited to compromise vulnerable web site.

1) Unrestricted Upload of File with Dangerous Type in HelpDEZk: CVE-2014-8337

The vulnerability exists due to absence of validation of file extensions when uploading files in "/includes/classes/uploadify-v2.1.4/uploadify.php" script. A remote attacker can upload files with arbitrary extension into directory within application's web root and execute them with privileges of the web server.

Additionally, access to the upload script is not restricted to anonymous users. A remote unauthenticated attacker can access the vulnerable script and successfully upload malicious files on the server.

Below we provide an example of form that can be used to upload files on the vulnerable website:

<form action="http://[host]/includes/classes/uploadify-v2.1.4/uploadify.php?fo
lder=" method="post" name="main" enctype="multipart/form-data">
<input type="file" name="Filedata">
<input type="submit" id="btn">
</form>

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

Solution:

Remove "uploadify" files from "/includes/classes/" directory.

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

References:

[1] High-Tech Bridge Advisory HTB23239 - https://www.htbridge.com/advisory/HTB23239 - Arbitrary File Upload in HelpDEZk.
[2] HelpDEZk - http://helpdezk.org/ - HelpDEZk is a powerfull software that manages requests/incidents.
[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