what you don't know can hurt you

SugarCRM 9.0.1 Phar Deserialization

SugarCRM 9.0.1 Phar Deserialization
Posted Oct 11, 2019
Authored by EgiX | Site karmainsecurity.com

SugarCRM versions 9.0.1 and below suffer from multiple phar deserialization vulnerabilities.

tags | exploit, vulnerability
MD5 | 9b8f9b6b6a519339498cc83d2af280ce

SugarCRM 9.0.1 Phar Deserialization

Change Mirror Download
---------------------------------------------------------------
SugarCRM <= 9.0.1 Multiple Phar Deserialization 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 through the "backup_dir" parameter when handling
the
"Backups" action within the "Administration" module is not properly
sanitized
before being used in a file operation. This can be exploited by
malicious users
to inject arbitrary PHP objects into the application scope (PHP Object
Injection
via phar:// stream wrapper), allowing them to carry out a variety of
attacks,
such as executing arbitrary PHP code. Successful exploitation of this
vulnerability requires a System Administrator account.

2) User input passed through the "file_name" parameter when handling the
"step3"
action within the "Import" module is not properly sanitized before being
used in
a file operation. This can be exploited by malicious users to inject
arbitrary
PHP objects into the application scope (PHP Object Injection via phar://
stream
wrapper), allowing them to carry out a variety of attacks, such as
executing
arbitrary PHP code.

3) User input passed through the "importFile" parameter when handling
the
"RefreshMapping" action within the "Import" module is not properly
sanitized
before being used in a file operation. This can be exploited by
malicious users
to inject arbitrary PHP objects into the application scope (PHP Object
Injection
via phar:// stream wrapper), allowing them to carry out a variety of
attacks,
such as executing arbitrary PHP code.

4) User input passed through the "load_module_from_dir" parameter when
handling
the "UpgradeWizard" action within the "Administration" module is not
properly
sanitized before being used in a file operation. This can be exploited
by malicious
users to inject arbitrary PHP objects into the application scope (PHP
Object
Injection via phar:// stream wrapper), allowing them to carry out a
variety of
attacks, such as executing arbitrary PHP code. Successful exploitation
of this
vulnerability requires a System Administrator account.

5) User input passed through the "file_name" parameter when handling the
"UploadFileCheck" action within the "UpgradeWizard" module is not
properly
sanitized before being used in a file operation. This can be exploited
by
malicious users to inject arbitrary PHP objects into the application
scope
(PHP Object Injection via phar:// stream wrapper), allowing them to
carry
out a variety of attacks, such as executing arbitrary PHP code.


[-] 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-09


[-] Other References:

https://support.sugarcrm.com/Documentation/Sugar_Versions/9.0/Ent/Sugar_9.0.2_Release_Notes


Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

April 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    60 Files
  • 2
    Apr 2nd
    20 Files
  • 3
    Apr 3rd
    15 Files
  • 4
    Apr 4th
    5 Files
  • 5
    Apr 5th
    5 Files
  • 6
    Apr 6th
    27 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    0 Files
  • 9
    Apr 9th
    0 Files
  • 10
    Apr 10th
    0 Files
  • 11
    Apr 11th
    0 Files
  • 12
    Apr 12th
    0 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    0 Files
  • 16
    Apr 16th
    0 Files
  • 17
    Apr 17th
    0 Files
  • 18
    Apr 18th
    0 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

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close