Ticket #1087 (closed defect: fixed)
SQL Injection possibilities
| Reported by: | ischommer | Owned by: | mlanthaler |
|---|---|---|---|
| Priority: | blocker | Milestone: | Forum 0.1.2-rc1 |
| Component: | Modules - forum | Version: | |
| Severity: | medium effort / impact | Keywords: | |
| Cc: | Hours: |
Description
//ForumMemberProfile.php
function doregister($data, $form) {
if($member = DataObject::get_one("Member","`Email` = '{$data['Email']}'")) {
$data isn't SQL-safe, you need to do
$SQL_data = Convert::raw2sql($data);
please check if there are other occurances of this problem :)
Change History
Note: See
TracTickets for help on using
tickets.
