Eval injection vulnerability in the flag_import_form_validate function in includes/flag.export.inc in the Flag module 7.x-3.0, 7.x-3.5, and earlier for Drupal allows remote authenticated administrators to execute arbitrary PHP code via the "Flag import code" text area to admin/structure/flags/import. NOTE: this issue could also be exploited by other attackers if the administrator ignores a security warning on the permissions assignment page.
| Software | From | Fixed in |
|---|---|---|
| flag_module_project / flag | 7.x-3.1 | 7.x-3.1.x |
| flag_module_project / flag | 7.x-3.0-alpha1 | 7.x-3.0-alpha1.x |
| flag_module_project / flag | - | 7.x-3.5.x |
| flag_module_project / flag | 7.x-3.4 | 7.x-3.4.x |
| flag_module_project / flag | 7.x-3.3 | 7.x-3.3.x |
| flag_module_project / flag | 7.x-3.0-alpha2 | 7.x-3.0-alpha2.x |
| flag_module_project / flag | 7.x-3.2 | 7.x-3.2.x |
| flag_module_project / flag | 7.x-3.0-rc1 | 7.x-3.0-rc1.x |
| flag_module_project / flag | 7.x-3.0 | 7.x-3.0.x |
| flag_module_project / flag | 7.x-3.0-alpha4 | 7.x-3.0-alpha4.x |
| flag_module_project / flag | 7.x-3.x-dev | 7.x-3.x-dev.x |
| flag_module_project / flag | 7.x-3.0-alpha3 | 7.x-3.0-alpha3.x |
| flag_module_project / flag | 7.x-3.0-beta1 | 7.x-3.0-beta1.x |