Lucene search
+L

SugarCRM 9.0.1 Path Traversal

🗓️ 11 Oct 2019 00:00:00Reported by EgiXType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 191 Views

SugarCRM 9.0.1 Path Traversal vulnerabilities, potential server compromis

Code
`---------------------------------------------------------  
SugarCRM <= 9.0.1 Multiple Path Traversal Vulnerabilities  
---------------------------------------------------------  
  
  
[-] Software Link:  
  
https://www.sugarcrm.com  
  
  
[-] Affected Versions:  
  
Version 9.0.1 and prior versions, 8.0.3 and prior versions.  
  
  
[-] Vulnerabilities Description:  
  
1) User input passed to the "/Mail/attachment" REST API endpoint is not   
properly  
sanitized before being used to delete a file from the system. This can   
be exploited  
by malicious users to delete arbitrary files via Path Traversal attacks.   
Please  
note this vulnerability could be exploited to delete the 'config.php'   
file and  
re-install the application, potentially leading to a full server   
compromise.  
  
2) User input passed through the "temp_id" parameter to the   
"/[module]/temp/file"  
REST API endpoint is not properly sanitized before being used to   
download/delete a  
file from the system. This can be exploited by malicious users to   
download and/or  
delete arbitrary files via Path Traversal attacks. Please note this   
vulnerability  
could be exploited to download and delete the 'config.php' file and   
re-install  
the application, potentially leading to a full server compromise.  
  
3) User input passed through the "dropdown_lang" parameter when handling   
the "wizard"  
action within the "Studio" module is not properly sanitized before being   
used in a  
call to the include() PHP function. This can be exploited by malicious   
users to upload  
and execute arbitrary PHP code via Path Traversal attacks. Successful   
exploitation  
of this vulnerability requires an user account with Developer access to   
any module.  
  
4) User input passed through the "filename" parameter when handling the   
"deleteFont"  
action within the "Configurator" module is not properly sanitized before   
being used  
to delete a file from the system. This can be exploited by malicious   
users to delete  
arbitrary files. Please note this vulnerability could be exploited to   
delete the  
'config.php' file and re-install the application, potentially leading to   
a full  
server compromise. Successful exploitation of this vulnerability   
requires a  
System Administrator account.  
  
  
[-] Solution:  
  
Upgrade to version 9.0.2, 8.0.4, or later.  
  
  
[-] Disclosure Timeline:  
  
[07/02/2019] - Vendor notified  
[01/10/2019] - Versions 9.0.2 and 8.0.4 released  
[10/10/2019] - Publication of this advisory  
  
  
[-] Credits:  
  
Vulnerabilities discovered by Egidio Romano.  
  
  
[-] Original Advisory:  
  
http://karmainsecurity.com/KIS-2019-06  
  
  
[-] Other References:  
  
https://support.sugarcrm.com/Documentation/Sugar_Versions/9.0/Ent/Sugar_9.0.2_Release_Notes  
  
  
`

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