============================== Vulnerability ID: HTB22972 Reference: http://www.htbridge.ch/advisory/multiple_sql_injection_vulnerabilities_in_phpdug.html Product: PHPDug Vendor: Kubelabs.com ( http://www.kubelabs.com/ ) Vulnerable Version: 2.0.0 and probably prior versions Vendor Notification: 21 April 2011 Vulnerability Type: SQL Injection Risk level: Low Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) Vulnerability Details: The vulnerability exists due to failure in the "adm/admin_edit.php", "adm/usergroup_edit.php", "adm/category_edit.php" scripts to properly sanitize user-supplied input in "id" variables. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database. Attacker can use browser to exploit this vulnerability. The following PoC is available: 1.
2. http://host/adm/admin_edit.php?id=999'+UNION+SELECT+version(),user(),3+--+ 3. http://host/adm/usergroup_edit.php?id=999%27+UNION+SELECT+version%28%29,user%28%29,3,4+--+ 4. http://host/adm/category_edit.php?id=999%27+UNION+SELECT+user%28%29,version%28%29,3+--+ ============================== Vulnerability ID: HTB22970 Reference: http://www.htbridge.ch/advisory/multiple_xss_vulnerabilities_in_phpdug.html Product: PHPDug Vendor: Kubelabs.com ( http://www.kubelabs.com/ ) Vulnerable Version: 2.0.0 and probably prior versions Vendor Notification: 21 April 2011 Vulnerability Type: XSS (Cross Site Scripting) Risk level: Medium Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) Vulnerability Details: User can execute arbitrary JavaScript code within the vulnerable application. The vulnerability exists due to failure in the "add_story.php", "editprofile.php", "adm/content_add.php", "adm/admin_edit.php" scripts to properly sanitize user-supplied input in "story_url", "email", "title", "username" variables. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data. An attacker can use browser to exploit this vulnerability. The following PoC is available: 1.
2.
3.
4.
============================== Vulnerability ID: HTB22971 Reference: http://www.htbridge.ch/advisory/xsrf_csrf_in_phpdug.html Product: PHPDug Vendor: Kubelabs.com ( http://www.kubelabs.com/ ) Vulnerable Version: 2.0.0 and probably prior versions Vendor Notification: 21 April 2011 Vulnerability Type: CSRF (Cross-Site Request Forgery) Risk level: Low Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) Vulnerability Details: The vulnerability exists due to failure in the "adm/admin_edit.php" script to properly verify the source of HTTP request. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data. Attacker can use browser to exploit this vulnerability. The following PoC is available: