Modify ↓
Opened 13 years ago
Closed 10 years ago
#9065 closed defect (wontfix)
[PATCH] Improper SQL handling when updating change_time
Reported by: | Alex Willmer | Owned by: | CuriousCurmudgeon |
---|---|---|---|
Priority: | normal | Component: | BatchModifyPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
BatchModifier in source:batchmodifyplugin/0.12/trunk/batchmod/web_ui.py uses string interpolation to execute an UPDATE
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | 9065_update_changetime.patch added |
---|
comment:1 Changed 13 years ago by
Though the SQL statement is built using string interpolation both parameters (original_changetime, ticket.id) are earlier passed through functions that should protect against arbitrary SQL (i.e. to_utimestamp(), int() respectively). AFAICT this is not an immediate security hole, but should be fixed anyway.
comment:2 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The plugin is deprecated since it has been integrated to the Trac core for 1.0. Upgrade to Trac 1.0 and uninstall this plugin to get the latest functionality. Enhancement requests can be directed to Trac.
Note: See
TracTickets for help on using
tickets.
Patch for using bind variables to prevent sql injection