View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 18974 | Bug reports | Security | public | 2023-07-20 17:49 | 2023-07-31 12:32 |
| Reporter | DenisChenu | Assigned To | DenisChenu | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 6.1.x | ||||
| Summary | 18974: Stored XSS via user's Full Name in limesurvey/limesurvey | ||||
| Description | " accesskey="X" onclick="alert(document.domain) in user Full name | ||||
| Steps To Reproduce | Steps to reproduceLogin as a normal user and change the Full name to: Login as a privileged user who can manage users such as an administrator. Press ALT+SHIFT+X on Windows or CTRL+ALT+X on OS X. Expected resultNothing shown, (and user name are show encoded) Actual resultXSS and fuill user name are not shown | ||||
| Tags | No tags attached. | ||||
| Bug heat | 256 | ||||
| Complete LimeSurvey version number (& build) | 6.1.8 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | firefox | ||||
| Database type & version | not releveant | ||||
| Server OS (if known) | not releveant | ||||
| Webserver software & version (if known) | not releveant | ||||
| PHP Version | not releveant | ||||
|
https://huntr.dev/bounties/22fb76b7-ac9f-4d70-b244-5af7b3c8c246/ |
|
|
I can not reproduce this on current master. |
|
|
I can, in Firefox on Linux with ALT+SHIFT+X |
|
|
Ok, I managed to reproduce this in Firefox. But in Chrome I can't. |
|
|
Access key are different for each browser : https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey#try_it master : https://github.com/LimeSurvey/LimeSurvey/pull/3300 |
|
|
Tested and merged. |
|
|
Fix committed to 5.x branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35277 |
|
|
Fixed in Release 5.6.32+230731 |
|
|
LimeSurvey: 5.x 98443411 2023-07-27 19:33 Committer: GitHub Details Diff |
Fixed issue 18974: [security] Stored XSS via user's Full Name (#3301) Dev: remove unused, unsecure and unescaped value |
Affected Issues 18974 |
|
| mod - application/controllers/UserManagementController.php | Diff File | ||
| mod - application/views/userManagement/partial/confirmuserdelete.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-07-20 17:49 | DenisChenu | New Issue | |
| 2023-07-20 17:49 | DenisChenu | Note Added: 76200 | |
| 2023-07-20 17:49 | DenisChenu | Bug heat | 250 => 252 |
| 2023-07-20 18:08 | DenisChenu | Assigned To | => DenisChenu |
| 2023-07-20 18:08 | DenisChenu | Status | new => assigned |
| 2023-07-21 11:29 | tibor.pacalat | Note Added: 76210 | |
| 2023-07-21 11:29 | tibor.pacalat | Bug heat | 252 => 254 |
| 2023-07-21 11:30 | tibor.pacalat | Note Edited: 76210 | |
| 2023-07-21 14:08 | DenisChenu | Note Added: 76222 | |
| 2023-07-21 14:08 | DenisChenu | File Added: Peek 21-07-2023 14-08.gif | |
| 2023-07-21 14:09 | DenisChenu | Note Edited: 76222 | |
| 2023-07-21 14:18 | tibor.pacalat | Note Added: 76223 | |
| 2023-07-21 17:35 | DenisChenu | Note Added: 76231 | |
| 2023-07-21 17:35 | DenisChenu | Assigned To | DenisChenu => gabrieljenik |
| 2023-07-21 17:35 | DenisChenu | Status | assigned => ready for code review |
| 2023-07-24 08:57 | DenisChenu | Status | ready for code review => in code review |
| 2023-07-25 16:38 | DenisChenu | Assigned To | gabrieljenik => tibor.pacalat |
| 2023-07-25 16:38 | DenisChenu | Status | in code review => ready for testing |
| 2023-07-27 17:34 | tibor.pacalat | Status | ready for testing => resolved |
| 2023-07-27 17:34 | tibor.pacalat | Resolution | open => fixed |
| 2023-07-27 17:34 | tibor.pacalat | Note Added: 76311 | |
| 2023-07-27 17:42 | DenisChenu | Changeset attached | => LimeSurvey 5.x 98443411 |
| 2023-07-27 17:42 | DenisChenu | Note Added: 76312 | |
| 2023-07-27 17:42 | DenisChenu | Assigned To | tibor.pacalat => DenisChenu |
| 2023-07-31 12:32 | LimeBot | Note Added: 76359 | |
| 2023-07-31 12:32 | LimeBot | Status | resolved => closed |
| 2023-07-31 12:32 | LimeBot | Bug heat | 254 => 256 |