Nagios XI < 2024R1.3.2 contains a remote code execution vulnerability by chaining two flaws: an arbitrary file upload and a path traversal in the Core Config Snapshots interface. The issue arises from insufficient validation of file paths and extensions during MIB upload and snapshot rename operations. Exploitation results in the placement of attacker-controlled PHP files in a web-accessible directory, executed as the www-data user.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://theyhack.me/Nagios-XI-Authenticated-RCE | technical description exploit |
https://www.nagios.com/changelog/ | patch vendor advisory |
https://www.nagios.com/products/security/ | patch vendor advisory |
https://theyhack.me/Nagios-XI-Authenticated-RCE/ |