what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Blackcat CMS 1.2 Cross Site Scripting

Blackcat CMS 1.2 Cross Site Scripting
Posted Jun 22, 2017
Authored by Faiz Ahmed Zaidi

Blackcat CMS version 1.2 suffers from a cross site scripting vulnerability.

tags | exploit, xss
advisories | CVE-2017-9609
SHA-256 | b32dbbbd0271e599972b72c1d838af3a9cc1e37a4dd2a35467665c4439f7a4d9

Blackcat CMS 1.2 Cross Site Scripting

Change Mirror Download
# Exploit Title : Blackcat CMS XSS Vulnerability
# Date: 21/June/2017
# Exploit Author: Faiz Ahmed Zaidi Organization: Provensec LLC Website: http://provensec.com/
# Vendor Homepage: https://blackcat-cms.org/
# Software Link: https://blackcat-cms.org/page/download.php
# Version: blackcatcms_v1.2_Bundle
# Tested on: Windows 10 (Xampp)
# CVE : CVE-2017-9609

Suggested description:

I would like to report a vulnerability that I discovered in BlackCat CMS
(blackcatcms_v1.2_Bundle), which can be exploited to perform Cross-Site
Scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of the
amap_languagea HTTP POST parameter passed to
a/backend/pages/lang_settings.php?page_id=1a script.The exploitation
example below uses the "alert()" JavaScript function to display
"Provensec" word.

Cross-Site Scripting (XSS) attacks are a type of injection, in which
malicious scripts are injected into otherwise benign and trusted web
sites. XSS attacks occur when an attacker uses a web application to
send malicious code, generally in the form of a browser side script,
to a different end user. Flaws that allow these attacks to succeed are
quite widespread and occur anywhere a web application uses input from
a user within the output it generates without validating or encoding
it.

An attacker can use XSS to send a malicious script to an unsuspecting
user. The end user's browser has no way to know that the script should
not be trusted, and will execute the script. Because it thinks the
script came from a trusted source; the malicious script can access any
cookies, session tokens, or other sensitive information retained by
the browser and used with that site. These scripts can even rewrite
the content of the HTML page.

------------------------------------------

Vulnerability Type:
Cross Site Scripting (XSS)

------------------------------------------

Vendor of Product:
Black Cat Development

------------------------------------------

Affected Product Code Base:
Blackcat CMS (https://blackcat-cms.org/) - blackcatcms_v1.2_Bundle

------------------------------------------

Affected Component:
https://localhost/blackcatcms_v1.2_Bundle/backend/pages/lang_settings.php
https://localhost/blackcatcms_v1.2_Bundle/backend/pages/lang_settings_save.php

------------------------------------------

Attack Type:
Remote

------------------------------------------

Attack Vectors:
Steps:
1.Login to BlackCat CMS.
2.Open the URL
"https://localhost/blackcatcms_v1.2_Bundle/backend/pages/lang_settings.php?page_id=1".
3.Create and Save the Create link.
4.Tamper the "map_language" parameter and insert payload in it.
Here, payload I used a<script>alert(/Provensec/)</script>a.
5.Forward the tampered request.
6.XSS gets executed on
"https://localhost/blackcatcms_v1.2_Bundle/backend/pages/lang_settings_save.php"
page.

------------------------------------------

Reference:
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)

------------------------------------------

Discoverer:
Author: Faiz Ahmed Zaidi Organization: Provensec LLC Website:
http://provensec.com/

------------------------------------------


*--
*

*Thanks & Regards*

*Faiz Ahmed Zaidi*

*Information Security Researcher
*

*Provensec* <http://provensec.com/>*
*

Login or Register to add favorites

File Archive:

February 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Feb 1st
    16 Files
  • 2
    Feb 2nd
    19 Files
  • 3
    Feb 3rd
    0 Files
  • 4
    Feb 4th
    0 Files
  • 5
    Feb 5th
    24 Files
  • 6
    Feb 6th
    2 Files
  • 7
    Feb 7th
    10 Files
  • 8
    Feb 8th
    25 Files
  • 9
    Feb 9th
    37 Files
  • 10
    Feb 10th
    0 Files
  • 11
    Feb 11th
    0 Files
  • 12
    Feb 12th
    17 Files
  • 13
    Feb 13th
    20 Files
  • 14
    Feb 14th
    25 Files
  • 15
    Feb 15th
    15 Files
  • 16
    Feb 16th
    6 Files
  • 17
    Feb 17th
    0 Files
  • 18
    Feb 18th
    0 Files
  • 19
    Feb 19th
    35 Files
  • 20
    Feb 20th
    25 Files
  • 21
    Feb 21st
    18 Files
  • 22
    Feb 22nd
    15 Files
  • 23
    Feb 23rd
    0 Files
  • 24
    Feb 24th
    10 Files
  • 25
    Feb 25th
    0 Files
  • 26
    Feb 26th
    37 Files
  • 27
    Feb 27th
    34 Files
  • 28
    Feb 28th
    27 Files
  • 29
    Feb 29th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close