lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
From: merlyn at stonehenge.com (Randal L. Schwartz)
Subject: Question: is this exploitable?

>>>>> "Paulo" == Paulo Pereira <pjp@...lo-pereira.net> writes:

Paulo> $sth = $dbh->prepare("insert into projects values(null,\"$project\")");

This clearly should have been:

  my $sth = $dbh->prepare("insert into projects values(null, ?)");
  $sth->execute($project);

which will Do The Right Thing.

Placeholders, people.  Placeholders.
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...nehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ