SECUNIA ADVISORY ID: SA30139 VERIFY ADVISORY: http://secunia.com/advisories/30139/ CRITICAL: Moderately critical IMPACT: Manipulation of data WHERE: >From remote SOFTWARE: DatsoGallery 1.x (component for Joomla) http://secunia.com/product/18626/ DESCRIPTION: toxa has discovered a vulnerability in the DatsoGallery component for Joomla!, which can be exploited by malicious people to conduct SQL injection attacks. Input passed in the "User-Agent" HTTP header to sub_votepic.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. The vulnerability is confirmed in version 1.6. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: toxa ORIGINAL ADVISORY: http://milw0rm.com/exploits/5583