TITLE: Sysinfoscript sysinfo.cgi Shell Command Injection and Path Disclosure SECUNIA ADVISORY ID: SA19690 VERIFY ADVISORY: http://secunia.com/advisories/19690/ CRITICAL: Highly critical IMPACT: Exposure of system information, System access WHERE: >From remote SOFTWARE: Sysinfoscript 1.x http://secunia.com/product/9364/ DESCRIPTION: rgod has reported a vulnerability and a weakness in Sysinfoscript, which can be exploited by malicious people to disclose system information or compromise a vulnerable system. 1) Input passed to the "name" parameter in sysinfo.cgi is not properly sanitised before being used. This can be exploited to inject and execute arbitrary shell commands via the ";" (semicolon) character. Example: http://[host]/cgi-bin/sysinfo.cgi?action=systemdoc&name=;[code] 2) It is possible to disclose the full path to the installation by setting the "action" parameter to "debugging". The vulnerability and weakness have been reported in version 1.21. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised and that path information is not returned to users. PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://milw0rm.com/exploits/1677 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------