Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

ownCloud Multiple Vulnerabilities

-

Release Date:  2012-04-19    Last Update:  2012-04-27    Views:  1,277

Secunia Advisory SA48850

Where:

From remote

Impact:

Cross Site Scripting, Spoofing, System access

Solution Status:

Partial Fix

Software:

CVE Reference(s):

Description


A weakness and multiple vulnerabilities have been discovered in ownCloud, which can be exploited by malicious users to compromise a vulnerable system and by malicious people to conduct spoofing, cross-site scripting, and cross-site request forgery attacks.

1) Input passed via the "redirect_url" parameter to index.php is not properly verified before being used to redirect users. This can be exploited to redirect a user to an arbitrary website e.g. when a user clicks a specially crafted link to the affected script hosted on a trusted domain.

2) Input passed via the "redirect_url" parameter to index.php and the "files" parameter to files/ajax/download.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

3) The application allows users to perform certain actions via HTTP requests without performing proper validity checks to verify the requests. This can be exploited to e.g. conduct script insertion attacks via editing contacts when a logged-in user visits a specially crafted web page.

4) An error due to the files/ajax/upload.php script not verifying the extension of an uploaded file can be exploited to e.g. upload an .htaccess file, which will allow uploaded PHP files to be executed.

The weakness and vulnerabilities are confirmed in version 3.0.2. Other versions may also be affected.


Solution:
Vulnerability #4 is fixed in the GIT repository. Edit the source code to ensure that input is properly sanitised and verified. Do not browse untrusted sites or follow untrusted links while being logged-in to the application.

Provided and/or discovered by:
1-3) Tobias Glemser, Tele-Consulting.
4) luks

Original Advisory:
ownCloud:
http://gitorious.org/owncloud/owncloud/commit/acdce2b1e01f7c0a77b7e7949540e1b0ba94efd1

Tele-Consulting:
http://www.tele-consulting.com/advisories/TC-SA-2012-01.txt

luks:
http://seclists.org/fulldisclosure/2012/Apr/223

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: ownCloud Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability