Headline
CVE-2023-43355: GitHub - sromanhu/CVE-2023-43355-CMSmadesimple-Reflected-XSS---Add-user: Cross Site Scripting vulnerability in CMSmadesimple v.2.2.18 allows a local attacker to execute arbitrary code via a crafted sc
Cross Site Scripting vulnerability in CMSmadesimple v.2.2.18 allows a local attacker to execute arbitrary code via a crafted script to the password and password again parameters in the My Preferences - Add user component.
CMSmadesimple Reflected XSS v2.2.18****Author: (Sergio)
Description: Multiple cross-site scripting (XSS) vulnerabilites in install/adduser.php of CMSmadesimple v.2.2.18 allows a local attacker to execute arbitrary code via a crafted script to the password and password again in the My Preferences - Add user.
Attack Vectors: Scripting a vulnerability in the sanitization of the entry in the password and password of “My Preferences - Add user.” allows injecting JavaScript code that will be executed when forward the request.
POC:
When logging into the panel, we will go to the “My Preferences - Add user” section off General Menu.
We edit that Content - News Menu with the payload that we have created and see that we can inject arbitrary Javascript code in the assword and password again field.
XSS Payload:
'"><svg/onload=alert(‘password’)>
'"><svg/onload=alert(‘password again’)>
In the following image you can see the embedded code that executes the payload when forward the request.
Additional Information:
http://www.cmsmadesimple.org/
https://owasp.org/Top10/es/A03_2021-Injection/