Cross-site Scripting (XSS) - Generic in tsolucio/corebos


Reported on

Sep 22nd 2021


Generic XSS in RSS content allows for the arbitrary execution of JavaScript

Proof of Concept

// PoC Request Add RSS Feed
POST /corebos/index.php?module=Rss&action=RssAjax&file=Popup&directmode=ajax&rssurl= HTTP/1.1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Content-Type: text/plain;charset=UTF-8
Content-Length: 70
Connection: close
Cookie: ck_login_id_vtiger=1; timezone=0; corebos_browsertabID=609786462376996; _orangehrm=929bfb55f5e0dde7a982136b062a17de; BOXSID=4ipvdaiqhuu670rjgo3bspnd4h; 127001corebos=r2lm7d6pp76a2s5jsikfuv39k5; KCFINDER_showname=on; KCFINDER_showsize=off; KCFINDER_showtime=off; KCFINDER_order=name; KCFINDER_orderDesc=off; KCFINDER_view=thumbs; KCFINDER_displaySettings=off
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin


Step to reproduce

Go to Tools > RSS > Add RSS Feed

Add Url RSS contain malicious script. Example RSS

Then, select the Feed Source just added and click Subject of RSS

Video PoC: PoC


Unfiltered RSS content leads to malicious scripts being executed. This vulnerability has the potential to steal a user's cookie and gain unauthorized access to that user's account through the stolen cookie.

We have contacted a member of the tsolucio/corebos team and are waiting to hear back 2 years ago
Joe Bordes validated this vulnerability 2 years ago
noobpk has been awarded the disclosure bounty
The fix bounty is now up for grabs
Joe Bordes marked this as fixed with commit 695d69 2 years ago
Joe Bordes has been awarded the fix bounty
to join this conversation