|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: [suse-security] Securing cgi's
From: Thomas Biege (thomas
suse.de)Date: Mon Dec 18 2000 - 07:13:45 CST
- Next message: Peter Hummel: "Re: [suse-security] Firewall Loging"
- Previous message: Thomas Biege: "Re: [suse-security] SuSE Security FAQ"
- In reply to: RoMaN SoFt / LLFB!!: "[suse-security] Securing cgi's"
- Next in thread: RoMaN SoFt / LLFB!!: "Re: [suse-security] Securing cgi's"
- Reply: Thomas Biege: "Re: [suse-security] Securing cgi's"
- Reply: RoMaN SoFt / LLFB!!: "Re: [suse-security] Securing cgi's"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Now I want to protect my CGI. Basically it only takes two strings:
> one which only contains numbers and other more generic (it can contain
> ";,|<>"... etc). I want to correctly (=secure) parse the variables
these chars interact with the shell, that's bad.
so, don't use shell scripting for your CGI
if you use perl or C, then avoid using
- eval()
- $()
- `` Backticks
- system()
- popen()
- open()
- <> (perl file globbing)
- glob() (perl)
and everything else, that uses the shell.
I hope, that I didn't missed something. :-)
Bye,
Thomas
-- Thomas Biege, SuSE GmbH, Schanzaeckerstr. 10, 90443 Nuernberg Email: thomas
suse.de Function: Security Support & Auditing "lynx -source http://www.suse.de/~thomas/thomas.pgp | pgp -fka" Key fingerprint = 09 48 F2 FD 81 F7 E7 98 6D C7 36 F1 96 6A 12 47
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-security-unsubscribe
suse.com For additional commands, e-mail: suse-security-help
suse.com
- Next message: Peter Hummel: "Re: [suse-security] Firewall Loging"
- Previous message: Thomas Biege: "Re: [suse-security] SuSE Security FAQ"
- In reply to: RoMaN SoFt / LLFB!!: "[suse-security] Securing cgi's"
- Next in thread: RoMaN SoFt / LLFB!!: "Re: [suse-security] Securing cgi's"
- Reply: Thomas Biege: "Re: [suse-security] Securing cgi's"
- Reply: RoMaN SoFt / LLFB!!: "Re: [suse-security] Securing cgi's"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]