sromanhu / CVE-2023-44771_ZenarioCMS--Stored-XSS---Page-Layout

Zenariocms 9.4.59197 is affected by a Cross-Site Scripting (XSS) vulnerability that allows attackers to execute arbitrary code via a crafted payload to the Page Layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZenarioCMS Stored XSS v.9.4.59197

Author: (Sergio)

Description: Cross Site Scripting vulnerability in ZenarioCMS v.9.4.59197 allows a local attacker to execute arbitrary code via a crafted script to the Page Layout.

Attack Vectors: Scripting a vulnerability in the sanitization of the entry in the Page Layout allows injecting JavaScript code that will be executed when the user accesses the web page.


POC:

When logging into the panel, we will go to the "Layout - Page Layout off the Administration Menu.

image

We click on Edit Layout and add the following payload:

XSS Payload:

<img src=x:alert(alt) onerror=eval(src) alt='XSS Page Layout'>

image

In the following image you can see the embedded code that executes the payload in the main web. image


Additional Information:

https://zenar.io/

https://owasp.org/Top10/es/A03_2021-Injection/

About

Zenariocms 9.4.59197 is affected by a Cross-Site Scripting (XSS) vulnerability that allows attackers to execute arbitrary code via a crafted payload to the Page Layout