Ticket #364 (new bug)
Way to use password in query at login
| Reported by: | jeanyves | Owned by: | fake51 |
|---|---|---|---|
| Priority: | major | Milestone: | unassigned |
| Component: | FrameWork | Version: | |
| Keywords: | security password | Cc: | |
| Follow up needed: | review code | Frequently reported: | 1 |
| Announce on BW: | no |
Description
In bwauthlib there is the following query (a similar one was in old BW)
$query = "SELECT id,Status,Username FROM members WHERE Username='" . $this->dao->escape($handle) . "' AND PassWord? = PASSWORD('".$this->dao->escape($password)."')";
the nasty effect if that if the Query is log because it is delay (it has happen yesterday), the password is recorded in plain text in the log
Change History
Note: See
TracTickets for help on using
tickets.
