ownCloud 4.0.x before 4.0.10 and 4.5.x before 4.5.5 does not properly restrict access to settings.php, which allows remote attackers to edit app configurations of user_webdavauth and user_ldap by editing this file.
owncloud.org/changelog/
secunia.com/advisories/51614
www.openwall.com/lists/oss-security/2012/12/22/2
www.openwall.com/lists/oss-security/2012/12/22/5
www.securityfocus.com/bid/57030
exchange.xforce.ibmcloud.com/vulnerabilities/80808
github.com/owncloud/core/commit/c4ecbad
github.com/owncloud/core/commit/db7ca53