CVE-2023-34096

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.
References
Link Resource
http://packetstormsecurity.com/files/172822/Thruk-Monitoring-Web-Interface-3.06-Path-Traversal.html Exploit Third Party Advisory VDB Entry
https://galogetlatorre.blogspot.com/2023/06/cve-2023-34096-path-traversal-thruk.html
https://github.com/galoget/Thruk-CVE-2023-34096
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L690 Exploit
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L705 Exploit
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L727 Exploit
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L735 Exploit
https://github.com/sni/Thruk/commit/26de047275c355c5ae2bbbc51b164f0f8bef5c5b Patch
https://github.com/sni/Thruk/commit/cf03f67621b7bb20e2c768bc62b30e976206aa17 Patch
https://github.com/sni/Thruk/security/advisories/GHSA-vhqc-649h-994h Exploit Vendor Advisory
https://www.exploit-db.com/exploits/51509
http://packetstormsecurity.com/files/172822/Thruk-Monitoring-Web-Interface-3.06-Path-Traversal.html Exploit Third Party Advisory VDB Entry
https://galogetlatorre.blogspot.com/2023/06/cve-2023-34096-path-traversal-thruk.html
https://github.com/galoget/Thruk-CVE-2023-34096
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L690 Exploit
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L705 Exploit
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L727 Exploit
https://github.com/sni/Thruk/blob/1bc5a5804bf9fc22e82a4eadb21a1795954f0867/plugins/plugins-available/panorama/lib/Thruk/Controller/panorama.pm#L735 Exploit
https://github.com/sni/Thruk/commit/26de047275c355c5ae2bbbc51b164f0f8bef5c5b Patch
https://github.com/sni/Thruk/commit/cf03f67621b7bb20e2c768bc62b30e976206aa17 Patch
https://github.com/sni/Thruk/security/advisories/GHSA-vhqc-649h-994h Exploit Vendor Advisory
https://www.exploit-db.com/exploits/51509
Configurations

Configuration 1 (hide)

cpe:2.3:a:thruk:thruk:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2023-06-08 19:15

Updated : 2024-11-21 08:06


NVD link : CVE-2023-34096

Mitre link : CVE-2023-34096

CVE.ORG link : CVE-2023-34096


JSON object : View

Products Affected

thruk

  • thruk
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')