Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-27237 — CVE 2025 27237 Zabbix LPE proof of concept. | Kitploit
Tools/GitHubGitHub/hackinglz/cve-2025-27237
Privilege EscalationVulnerability AnalysisCode AnalysisExploitationBinary AnalysisPayload Development
GitHubhackinglz/cve-2025-27237

CVE-2025-27237

CVE 2025 27237 Zabbix LPE proof of concept.

View Repository
2026 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-27237

Local privilege escalation vulnerability in Zabbix Agent/Agent2 for Windows via OpenSSL configuration file hijacking.

Overview

FieldValue
CVE IDCVE-2025-27237
CVSS v4.07.3 (HIGH)
CWECWE-427: Uncontrolled Search Path Element
TypeLocal Privilege Escalation
VendorZabbix

Zabbix Agent for Windows loads OpenSSL configuration from a hardcoded path (C:\vcpkg\...) that is writable by low-privileged users. An attacker can plant a malicious openssl.cnf that loads an arbitrary DLL with SYSTEM privileges when the Zabbix Agent service restarts.

Affected Versions

Branch

Repository Contents

root@kitploit:~
.
├── CVE-2025-27237-analysis.md   # Detailed technical analysis
├── CVE-2025-27237-PoC.md        # Proof of concept documentation
├── extract_openssl_paths.py     # Binary analysis tool
├── poc.c                        # PoC DLL source (MessageBox)
├── poc2.c                       # PoC DLL variant (file write)
└── poc3.c                       # PoC DLL variant

Usage

Analyze Zabbix Binaries

Extract hardcoded OpenSSL paths from Zabbix Agent binaries to determine vulnerability status:

root@kitploit:~
python extract_openssl_paths.py zabbix_agent2.exe

The script uses strings and optionally radare2 to find:

  • OPENSSLDIR - Location of openssl.cnf
  • ENGINESDIR - Location for OpenSSL engines
  • MODULESDIR - Location for OpenSSL modules

Compile PoC DLL (MinGW)

For 32-bit (i386) Zabbix Agent:

root@kitploit:~
i686-w64-mingw32-gcc -shared -o poc.dll poc.c -luser32

For 64-bit (amd64) Zabbix Agent:

root@kitploit:~
x86_64-w64-mingw32-gcc -shared -o poc.dll poc.c -luser32

Download Vulnerable Agents

Vulnerable versions of Zabbix Agent can be downloaded from the official archive: https://www.zabbix.com/download_agents

Exploitation Requirements

  1. Local user access to Windows system
  2. Zabbix Agent configured with TLS (TLSConnect=cert or TLSAccept=cert)
  3. Ability to create directories at C:\ root (default Windows permissions)
  4. Service restart (or system reboot)

Detection

Check for exploitation attempts:

root@kitploit:~
Test-Path "C:\vcpkg\downloads\tools\msys2\*\etc\ssl\openssl.cnf"

Remediation

Upgrade to patched versions:

  • 6.0.41+, 7.0.18+, 7.2.12+, or 7.4.2+

References

  • NVD - CVE-2025-27237
  • Zabbix Support - ZBX-27061
  • GitHub Advisory - GHSA-r6x3-vwpm-5vwg

Credits

  • Original discovery: himbeer (via HackerOne)
  • Analysis: Independent verification performed January 2026
Download Tool
Affected
Fixed
6.0 LTS6.0.0 - 6.0.406.0.41
7.07.0.0 - 7.0.177.0.18
7.27.2.0 - 7.2.117.2.12
7.47.4.0 - 7.4.17.4.2