Multiple directory traversal vulnerabilities in phpAdsNew and phpPgAds before 2.0.6 allow remote attackers to include arbitrary files via a .. (dot dot) in the (1) layerstyle parameter to adlayer.php or (2) language parameter to js-form.php.
https://exchange.xforce.ibmcloud.com/vulnerabilities/21880
https://euvd.enisa.europa.eu/vulnerability/EUVD-2005-2636
http://www.securityreason.com/adv/phpAdsnew.SR.16.asc
http://www.securityfocus.com/bid/14584