kumarsivarajan / rmh-roomreservation-maker

Automatically exported from code.google.com/p/rmh-roomreservation-maker
0 stars 0 forks source link

Database functions should sanitize before submitting their queries. #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Enhancement name:
Sanitize arguments in database functions.

Functionality:
Use mysql_real_escape_string() in database functions on all values before 
attempting to insert into the database. A lot of copy-pasting that long 
function name.

Without it, entering comments containing apostrophes (single-quotes) or 
double-quotes (double-apostrophes) prematurely terminates the SQL statement and 
opens the database up to SQL injection.

Original issue reported on code.google.com by niceo...@gmail.com on 7 Nov 2012 at 6:21

GoogleCodeExporter commented 8 years ago

Original comment by bkmackellar on 19 Nov 2012 at 3:52

GoogleCodeExporter commented 8 years ago
Is this getting any attention? It's not a *real* showstopper for testing 
purposes, but I think it's pretty important, and it seems to still affect at 
least the newProfile.php class. It's not my expertise, but right now I am (and 
have been) floating with no issues, so I could try to tackle it if no progress 
has been made.

Original comment by niceo...@gmail.com on 3 Dec 2012 at 4:02