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:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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