Secunia Logo
Netsikker nu! 2008
 
Sysinfoscript sysinfo.cgi Shell Command Injection and Path Disclosure
Secunia Advisory: SA19690
Release Date: 2006-04-17
Last Update: 2006-04-27
Popularity: 5,587 views

Critical:
Highly critical
Impact: Exposure of system information
System access
Where: From remote
Solution Status: Unpatched

Software:Sysinfoscript 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-1831
CVE-2006-1832


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

Changelog:
2006-04-27: Added CVE references.

Original Advisory:
http://milw0rm.com/exploits/1677


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 37 views
2. FUJITSU Interstage Products Apache Tomcat Security Bypass // 28 views
3. CA ARCserve Backup Multiple Vulnerabilities // 28 views
4. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 28 views
5. Subdreamer Light Global Variables SQL Injection Vulnerability // 25 views
6. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 23 views
7. Built2go Real Estate Listings "event_id" SQL Injection // 22 views
8. VirtueMart Joomla! eCommerce Edition Multiple Vulnerabilities // 21 views
9. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 21 views
10. Red Hat update for cups // 21 views