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,564 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

Today
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 199 views
Debian update for php5
Moderately // 145 views
Atarone CMS Multiple Vulnerabilities
Moderately // 183 views
Debian update for squid
Less // 194 views
SUSE update for mercurial
Moderately // 241 views
SUSE update for openssh
Less // 185 views
Fedora update for mediawiki

Solutions | More...  


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. Debian update for php5 // 57 views
2. SUSE update for openssh // 48 views
3. WMNews Cross-Site Scripting Vulnerabilities // 46 views
4. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 45 views
5. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 41 views
6. SUSE update for mercurial // 32 views
7. Fedora update for mediawiki // 31 views
8. HP-UX NFS/ONCplus Denial of Service Vulnerability // 30 views
9. CMME Information Disclosure Security Issues // 30 views
10. Atarone CMS Multiple Vulnerabilities // 30 views