Advisory: Cross-Site Scripting vulnerability in Nagios Advisory ID: SSCHADV2011-006 Author: Stefan Schurtz Affected Software: Successfully tested on: nagios 3.2.3 Vendor URL: http://www.nagios.org Vendor Status: informed CVE-ID: - ========================== Vulnerability Description: ========================== This is a Cross-Site Scripting vulnerability ================== Technical Details: ================== No input validation for "expand" in config.c(gi) View Config -> Command Expansion -> To expand -> View Config -> Command Expansion -> To expand ->
or http://www.example.com/nagios/cgi-bin/config.cgi?type=command&expand= http://www.example.com/nagios/cgi-bin/config.cgi?type=command&expand= ========= Solution: ========= in config.c < printf("