Lucene search
K

Blackcat CMS 1.2 Cross Site Scripting

🗓️ 22 Jun 2017 00:00:00Reported by Faiz Ahmed ZaidiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 39 Views

Blackcat CMS 1.2 XSS Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2017-9609
17 Jul 201721:29
attackerkb
CNVD
Blackcat CMS Cross-Site Scripting Vulnerability (CNVD-2017-24891)
18 Jul 201700:00
cnvd
CVE
CVE-2017-9609
17 Jul 201721:00
cve
Cvelist
CVE-2017-9609
17 Jul 201721:00
cvelist
EUVD
EUVD-2017-18540
7 Oct 202500:30
euvd
NVD
CVE-2017-9609
17 Jul 201721:29
nvd
Prion
Cross site scripting
17 Jul 201721:29
prion
`# 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/>*  
*  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

22 Jun 2017 00:00Current
5.6Medium risk
Vulners AI Score5.6
EPSS0.01159
39