View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13560 | Bug reports | Security | public | 2018-04-02 16:56 | 2018-04-10 14:41 |
Reporter | strukt93 | Assigned To | |||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Fixed in Version | 3.6.x | ||||
Summary | 13560: Stored XSS in Boxes | ||||
Description | The issue issue exists because the "Destination" parameter is not sanitized before reflecting into the home page when an admin creates a box. Thus, a malicious admin may use that to attacker other admins or users. To reproduce, go to http://HOST/limesurvey/index.php/admin/homepagesettings/sa/create, fill all the input fields and enter "><svg/onload=alert(1)> as the value of the "Destination" field and create the box. Visit the site's home page and an alert box should be there. | ||||
Tags | No tags attached. | ||||
Bug heat | 254 | ||||
Complete LimeSurvey version number (& build) | 3.0.0-beta.3+17110 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MariaDB | ||||
Server OS (if known) | Linux/Windows | ||||
Webserver software & version (if known) | Apache2 | ||||
PHP Version | 7.0 | ||||
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=26932 |
|
The boxes are build to be non-js safe. An admin should be able to add js and html into the boxes. |
|
Thank you very much, can you make it public so that I can request a CVE and reference this thread ? |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-04-02 16:56 | strukt93 | New Issue | |
2018-04-09 13:49 |
|
Changeset attached | => LimeSurvey master 86a0275d |
2018-04-09 13:49 |
|
Note Added: 47371 | |
2018-04-09 13:49 |
|
Assigned To | => markusfluer |
2018-04-09 13:49 |
|
Resolution | open => fixed |
2018-04-09 13:51 |
|
Status | new => resolved |
2018-04-09 13:51 |
|
Fixed in Version | => 3.6.x |
2018-04-09 13:51 |
|
Note Added: 47372 | |
2018-04-09 23:12 | strukt93 | Note Added: 47374 | |
2018-04-10 14:41 | c_schmitz | View Status | private => public |
2018-04-10 14:41 | c_schmitz | Status | resolved => closed |