Exploit database

Vulnerability

CVE-2012-0694

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

SugarCRM CE <= 6.3.1 contains scripts that use "unserialize()" with user controlled input which allows remote attackers to execute arbitrary PHP code.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

3 sources
SugarCRM unserialize() PHP Code Execution
MSF-unix--webapp--sugarcrm_unserialize_execMetasploitPHP / remote

This module exploits a php unserialize() vulnerability in SugarCRM <= 6.3.1 which could be abused to allow authenticated SugarCRM users to execute arbitrary code with the permissions of the webserver. The dangerous unserialize() exists in the 'include/MVC/View/views/view.list.php' script, which is called with user controlled data from the 'current_query_by_page' parameter. The exploit abuses the __destruct() method from the SugarTheme class to write arbitrary PHP code to a 'pathCache.php' on the web root.

2012-06-23sugarcrm_unserialize_exec.rb