DZCP deV!L`z Clanportal 1.5.2 inc/config.php basePath code injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.91

A vulnerability was found in DZCP deV!L`z Clanportal 1.5.2. It has been rated as critical. This issue affects an unknown function of the file inc/config.php. The manipulation of the argument basePath with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

PHP remote file inclusion vulnerability in inc/config.php in deV!L`z Clanportal (DZCP) 1.5.2, when register_globals is enabled, allows remote attackers to execute arbitrary PHP code via a URL in the basePath parameter.

The weakness was shared 03/15/2010 (Website). It is possible to read the advisory at vupen.com. The identification of this vulnerability is CVE-2010-0966 since 03/16/2010. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK. The following code is the reason for this vulnerability:

function show($tpl, $array)
{
  global $tmpdir;
    $template = "../inc/_templates_/".$tmpdir."/".$tpl;
   
    if($fp = @fopen($template.".".html, "r"))
      $tpl = @fread($fp, filesize($template.".".html));
     
    $array['dir'] = '../inc/_templates_/'.$tmpdir;
    foreach($array as $value => $code)
    {
      $tpl = str_replace('['.$value.']', $code, $tpl);
    }
  return $tpl;
}

A public exploit has been developed by cr4wl3r in PHP and been published immediately after the advisory. The exploit is available at exploit-db.com. It is declared as proof-of-concept. By approaching the search of inurl:inc/config.php it is possible to find vulnerable targets with Google Hacking.

Upgrading to version 1.5.4 eliminates this vulnerability. A possible mitigation has been published 1 days after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Exploit-DB (11735). secdb.tenold.org is providing further details.

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
ATT&CK: T1059

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: cr4wl3r
Programming Language: 🔍
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: deV!L`z Clanportal 1.5.4

Timelineinfo

03/15/2010 🔍
03/15/2010 +0 days 🔍
03/15/2010 +0 days 🔍
03/15/2010 +0 days 🔍
03/16/2010 +0 days 🔍
03/16/2010 +0 days 🔍
03/16/2010 +0 days 🔍
03/19/2015 +1829 days 🔍
03/23/2019 +1465 days 🔍

Sourcesinfo

Advisory: vupen.com
Status: Not defined

CVE: CVE-2010-0966 (🔍)
Secunia: 38902 - deV!L'z Clanportal "basePath" File Inclusion Vulnerability, Highly Critical
OSVDB: 62924 - deV!L'z Clanportal inc/config.php basePath Parameter Remote File Inclusion
Vupen: ADV-2010-0615

scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍

Entryinfo

Created: 03/19/2015 12:22 PM
Updated: 03/23/2019 03:59 PM
Changes: 03/19/2015 12:22 PM (67), 03/23/2019 03:59 PM (2)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!