ownCloud 'lib/db.php' SQL Injection Vulnerability

Summary
This host is installed with ownCloud and is prone to SQL injection vulnerability.
Impact
Successful exploitation will allow remote attacker to inject or manipulate SQL queries in the back-end database, allowing for the manipulation or disclosure of arbitrary data. Impact Level: Application
Solution
Upgrade to ownCloud 5.0.6 or later, For updates refer to http://owncloud.org
Insight
The flaw is due to the 'lib/db.php' script not properly sanitizing user supplied input before using it in SQL queries.
Affected
ownCloud Server 5.0.x before 5.0.6
Detection
Get the installed version with the help of detect NVT and check the version is vulnerable or not.
References