Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:13839
HistoryAug 10, 2006 - 12:00 a.m.

Cwfm <= 0.9.1 (Language) Remote File Inclusion Vulnerability

2006-08-1000:00:00
vulners.com
12

±-------------------------------------------------------------------
+

±-------------------------------------------------------------------
+

  • Affected Software .: Cwfm 0.9.1
  • Venedor …: http://cwfm.sourceforge.net/
  • Class …: Remote File Inclusion in /CheckUpload.php
  • Risk …: high (Remote File Execution)
  • Found by …: Philipp Niedziela
  • Contact …: webmaster[at]bb-pcsecurity[.]de
  •                  http://www.bb-pcsecurity.de
    

±-------------------------------------------------------------------
+

  • Code /CheckUpload.php
  • session_start();
  • include_once("Global.php");
  • //include_once("lang/$Language.php");
  • include_once("$Language.php");

±-------------------------------------------------------------------
+

  • $Language is not properly sanitized before being used.

±-------------------------------------------------------------------
+

  • Solution:
  • Declare $Language before using, include config-file or
  • denie direct access to the vuln file.

±-------------------------------------------------------------------
+

±-------------------------------------------------------------------
+

  • Note:
  • Venedor contacted, but no response. So do a dirty patch.

±------------------------[ E O F ]----------------------------------