Description
LimeSurvey Community Edition 7.8.0 contains an SQL injection vulnerability in the survey-archive participant import and SPSS-response export workflow. An authenticated user with global surveys.create permission can import a crafted .lsa archive whose participant XML creates an attacker-named attribute column. When the user exports responses from the imported non-anonymous survey, LimeSurvey passes the persisted name to Yii's select builder. Names containing parentheses are treated as SQL expressions instead of quoted identifiers, causing attacker-controlled SQL to execute with the application's database privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| LimeSurvey | LimeSurvey Community Edition | 7.8.0 | — |
References
- https://fluidattacks.com/es/advisories/pantera third-party-advisory
- https://github.com/LimeSurvey/LimeSurvey/ product
- https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/admin/import_helper.php technical-description
- https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/export_helper.php technical-description