Descrizione
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.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.1, EPSS 0.3% (percentile 23).
Versioni da aggiornare
- LimeSurvey LimeSurvey Community Edition: vulnerabile la versione
7.8.0→ installare l'ultima release supportata dal vendor.
Indicazioni del vendor
Soluzione (testo originale del vendor):
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 (testo originale del vendor):
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.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Attivare regole WAF anti SQL injection, ridurre i privilegi dell'utente del database e monitorare query anomale.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| LimeSurvey | LimeSurvey Community Edition | 7.8.0 | — |
Riferimenti
- Riferimentohttps://fluidattacks.com/es/advisories/pantera
- Riferimentohttps://github.com/LimeSurvey/LimeSurvey/
- Riferimentohttps://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/admin/import_helper.php
- Riferimentohttps://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/export_helper.php