LimeSurvey Community Edition
LimeSurvey Community Edition 7.8.0 - SQL injection via Archive Attributes
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- 7.8.0
Mitigation
Apply an upstream patch that strictly validates imported participant attribute identifiers and always quotes schema-derived identifiers before constructing the SPSS export SELECT list. Upgrade to the vendor-fixed release once one is published.
Workaround
Do not grant untrusted accounts global survey-creation permission and do not import untrusted .lsa archives. Review imported participant-table schemas for unexpected attribute column names.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.