Threat level definition
Search:
Home
Bugtraq
Vulnerabilities
Mailing Lists
Jobs
Tools
Beta Programs
News
Infocus
Foundations
Microsoft
Unix
IDS
Incidents
Virus
Pen-Test
Firewalls
Columnists
Mailing Lists
Newsletters
Bugtraq
Focus on IDS
Focus on Linux
Focus on Microsoft
Forensics
Pen-test
Security Basics
Vuln Dev
Vulnerabilities
Jobs
Job Opportunities
Resumes
Job Seekers
Employers
Tools
RSS
News
Vulns
Security Research
Web Application Security
Back to list
Name:
Email:
*Note: Email address will appear as "user domain ext" to prevent harvesting.
Subject:
Message:
RE: Anyone have some basic security tips for PHP-programmers?
Nov 20 2003 12:50AM
arek chelmnet pl
> Your first code block:
> 1. Request Variables, containing variables will be evaluated. (e.g.
> $config[mysql_pass]
OK, so we should to escape or drop $,,,[,],etc...
> 2. The keys will not be escaped
> (file.php?a%3D1%3B+print+file_get_contents%28%22%2Fetc%2Fshadow%22
> %29%3B+%2F
> %2F=hacked)
Hm...
[ more ]
Privacy Statement
Copyright 2009, SecurityFocus
> 1. Request Variables, containing variables will be evaluated. (e.g.
> $config[mysql_pass]
OK, so we should to escape or drop $,,,[,],etc...
> 2. The keys will not be escaped
> (file.php?a%3D1%3B+print+file_get_contents%28%22%2Fetc%2Fshadow%22
> %29%3B+%2F
> %2F=hacked)
Hm...
[ more ]