{
  "id": "CVE-2025-34323",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-34323",
  "published_at": "2025-11-17T17:48:28.973Z",
  "title": "Nagios Log Server \u003c 2026R1.0.1 Local Privilege Escalation via Writable Scripts and Sudo Rules",
  "vendor": "Nagios",
  "product": "Log Server",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-11-25T21:22:00Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 8.1,
    "repo": "mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Nagios Log Server versions prior to 2026R1.0.1 are vulnerable to local privilege escalation due to a combination of sudo misconfiguration and group-writable application directories. The 'www-data' user is a member of the 'nagios' group, which has write access to '/usr/local/nagioslogserver/scripts', while several scripts in this directory are owned by root and may be executed via sudo without a password. A local attacker running as 'www-data' can move one of these root-owned scripts to a backup name and create a replacement script with attacker-controlled content at the original path, then invoke it with sudo. This allows arbitrary commands to be executed with root privileges, providing full compromise of the underlying operating system.",
  "cwe": "CWE-732",
  "cpes": [
    "cpe:2.3:a:nagios:log_server:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:nagios:log_server:2026:r1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.5,
    "nvd": 7.8
  },
  "repos": [
    {
      "repo": "mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server",
      "url": "https://github.com/mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server",
      "created_at": "2025-11-25T21:22:00Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-12-11T17:58:04Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Nagios",
        "product": "Log Server",
        "ranges": [
          "\u003c 2026R1.0.1"
        ],
        "fixed_in": [
          "2026R1.0.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Log Server to 2026R1.0.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://www.nagios.com/products/security/#log-server"
      },
      {
        "kind": "Patch",
        "url": "https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://theyhack.me/Rooting-Nagios-Log-Server/",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/nagioslogserver/dashboard/natural_language_to_query",
      "headers": [
        {
          "name": "Cookie",
          "value": "ls_session={var}"
        }
      ],
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server/README.md:8"
      ]
    },
    {
      "method": "POST",
      "path_template": "/nagioslogserver/admin/globals",
      "headers": [
        {
          "name": "Cookie",
          "value": "csrf_ls=8f053ed2cb80988cea42d3ae3fc4415d; ls_session={var}"
        }
      ],
      "body_markers": [
        "csrf_ls=8f053ed2cb80988cea42d3ae3fc4415d",
        "natural_language_query=1",
        "nlp_disclaimer=on",
        "ai_provider=self_hosted",
        "self_host_ip_address=`touch /tmp/rce`",
        "ai_port=8000",
        "saveglobals=1"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server/README.md:7"
      ]
    }
  ],
  "rules": []
}
