[UNIX] FAQmanager File Reading Vulnerability
From: support@securiteam.comDate: 01/09/02
- Previous message: support@securiteam.com: "[NEWS] VeriSign "PayFlow Link" Payment Service Security Vulnerability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Date: Wed, 9 Jan 2002 21:14:45 +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.
- - - - - - - - -
FAQmanager File Reading Vulnerability
------------------------------------------------------------------------
SUMMARY
<http://www.fourteenminutes.com/code/faqmanager/> FAQmanager is a simple
perl script that allows you to easily set up and maintain an FAQ web site
(Frequently Asked Questions). A security vulnerability in the product
allows attackers to read any world readable file on the server.
DETAILS
Vulnerable systems:
FAQmanager versions prior to 2.2.6
Immune systems:
FAQmanager version 2.2.6 (partial fix)
FAQmanager can be used to read a file the server has access to.
Example:
http://host/cgi-bin/faqmanager.cgi?toc=/etc/passwd%00
This will show the system's /etc/passwd file.
Solution:
A solution would be to replace the untainted routine in the script with
this slightly modified one that filters out the null byte:
sub untaint
{
return "" if (!$_[0]);
my $taint = $_[0];
$taint =~ s/[\|\/]//g;
$taint =~ s/\0//gii;
$taint =~ /^[\<\+\>]*(.*)$/gi;
return $1; # _not_ return $taint
}
ADDITIONAL INFORMATION
The information has been provided by <mailto:nu_omega_tau@altavista.com>
Nu Omega Tau.
========================================
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.
- Previous message: support@securiteam.com: "[NEWS] VeriSign "PayFlow Link" Payment Service Security Vulnerability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|