[UNIX] Webmin view_man.cgi Security Vulnerability

From: support@securiteam.com
Date: 12/25/01


From: support@securiteam.com
To: list@securiteam.com
Date: Tue, 25 Dec 2001 07:53:01 +0100 (CET)

The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -

  Webmin view_man.cgi Security Vulnerability
------------------------------------------------------------------------

SUMMARY

 <http://www.webmin.com/webmin/> Webmin is a user administration tool
written by Jamie Cameron in Perl that is designed to be lightweight,
functional, and easily extensible. A security vulnerability in the product
allows remote attackers to execute arbitrary code by manipulating a user
provided information field.

DETAILS

Vulnerable systems:
Webmin version 0.91 and prior

Webmin's view_man.cgi does not do any input checking allowing commands to
be executed by using a special string inside a normal request. By default,
the server runs as root, allowing an attacker to execute commands as root.

Example:
By including inside such a URL as:
http://photon:10000/man/view_man.cgi?page=ipcs&sec=8&opts=&for=rm

A command, an attacker can cause the viewing of the man files to do other
things besides viewing of the man files, such as execution of arbitrary
commands.

Solution:
An update for the view_man module has been released, for more information
please see:
 <http://www.webmin.com/webmin/updates.html>
http://www.webmin.com/webmin/updates.html

ADDITIONAL INFORMATION

The information has been provided by Gobbles.

========================================

This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



Relevant Pages

  • [UNIX] Sendmail smrsh Bypass Vulnerabilities
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... It is possible for an attacker to bypass the restrictions imposed by The ... Sendmail Consortium's Restricted Shell (SMRSH) and execute a binary of his ...
    (Securiteam)
  • Re: More on SCADA comm security
    ... RF security has not been an issue ... The hardware designer will include some tamper detection, ... routine network commands resulting in RF sessions ... encryption, not something homespun. ...
    (comp.arch.embedded)
  • [EXPL] Solaris SADMIND Exploitation (Single UDP Packet, MetaSploit)
    ... Get your security news from a reliable source. ... Exploitation of Default Solaris sadmind Setting. ... requires a single UDP packet to the sadmind service to execute commands. ...
    (Securiteam)
  • Re: Enabling telnet, ftp, pop3 for root...
    ... then opens the shell and turns back on ... run ALL the commands they want from the script, ... Since nobody had root access to the machine that held the logs, there wasn't a way that somebody could abuse privilege by hiding what they were doing, without making it quite apparent that they were trying to hide their actions. ... Those are all hurdles that are unnecessary when implementing security. ...
    (alt.os.linux)
  • [NT] Skype File URI Security Bypass Code Execution Vulnerability
    ... Get your security news from a reliable source. ... Skype File URI Security Bypass Code Execution Vulnerability ... allow an attacker to execute arbitrary code in the context of the user. ...
    (Securiteam)