🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #13246

Re: Seguridad en Perl

#13246
From: Ignacio Arenaza
Date: Sun, 11 Mar 2001 00:05
34 lines
2066 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Juan" == Juan Miguel <umjumasa@terra.es> writes:

    Juan> "Insecure dependency in system while running setuid at
    Juan> ./comodin.pl line 62. " Es decir cuando utilizo la funcion

Es normal. Cuando perl se ejecuta con suid, toda variable que reciba
valores externos (parametros, cosas leidas de la entrada del usuario,
etc) se consideran "manchadas" (tainted) y potencialmente peligrosas.

Hasta que no las has "limpiado" no te deja usarlas en aquellas
operaciones que son peligrosas (system, open, etc.). Echa una buena
ojeada a la pagina del manual perlsec

    Juan> �Alguien sabe como forzar a Perl para que no proteste?

No hay que forzarle para que no proteste, hay que programar de forma
segura. Lo dicho, leete la pagina del manual  perlsec

Saludos. I�aki.

- -- 
  Get PGP/GPG Keys at http://www.escomposlinux.org/iarenaza/pgpkey.html

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Processed by Mailcrypt and GPG

iD8DBQE6qsFeZXLnGT1HLgcRAvASAKCFKKFLlzWfc1bnQQf6X8j1vrqACwCfRVF3
el1ULjEgG4g2QtdSZ7H9Oig=
=/wUF
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <87bsr9gof5.fsf@eb2ebu.ampr.org>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-out.cwix.com!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail
References: <%iKo6.42165$F35.1577773@telenews.teleline.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,aed2eb8c7700f9
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-03-11 12:42:11 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-out.cwix.com!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail
From: Ignacio Arenaza <iarenaza@eb2ebu.ampr.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Seguridad en Perl
Date: 11 Mar 2001 01:05:50 +0100
Organization: Servidor NNTP de eb2ebu.ampr.org
Lines: 34
Message-ID: <87bsr9gof5.fsf@eb2ebu.ampr.org>
References: <%iKo6.42165$F35.1577773@telenews.teleline.es>
NNTP-Posting-Host: 212-170-194-48.uc.nombres.ttd.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7