CVE-2023-34096
JSON

6.5medium

Thruk has Path Traversal Vulnerability in panorama.pm

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
27.4% (higher than 99% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

Thruk is a multibackend monitoring webinterface which currently supports Naemon, Icinga, Shinken and Nagios as backends. In versions 3.06 and prior, the file `panorama.pm` is vulnerable to a Path Traversal vulnerability which allows an attacker to upload a file to any folder which has write permissions on the affected system. The parameter location is not filtered, validated or sanitized and it accepts any kind of characters. For a path traversal attack, the only characters required were the dot (`.`) and the slash (`/`). A fix is available in version 3.06.2.

Affected

Product or packageVersionsReported by
sni Thruk< 3.06.2CVE List
thruk thrukbefore 3.06.2NVD

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

https://github.com/sni/Thruk/security/advisories/GHSA-vhqc-649h-994hexploit, vendor-advisory
https://github.com/sni/Thruk/commit/26de047275c355c5ae2bbbc51b164f0f8bef5c5bpatch
https://github.com/sni/Thruk/commit/cf03f67621b7bb20e2c768bc62b30e976206aa17patch
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L690exploit
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L705exploit
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L727exploit
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L735exploit
http://packetstormsecurity.com/files/172822/Thruk-Monitoring-Web-Interface-3.06-Path-Traversal.htmlexploit, third-party-advisory, vdb-entry
https://galogetlatorre.blogspot.com/2023/06/cve-2023-34096-path-traversal-thruk.html
https://www.exploit-db.com/exploits/51509
https://github.com/galoget/Thruk-CVE-2023-34096

Sources

SourceRecordLicence
CVE ListCVE-2023-34096 changed 2025-02-13CVE Terms of Use
NVDCVE-2023-34096 changed 2026-06-17Public domain