phpPgAds and phpAdsNew contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the refresh variable upon submission to the 'adframe.php' script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.
Classification
Location:
Remote / Network Access
Attack Type:
Input Manipulation
Impact:
Loss of Integrity
Exploit:
Exploit Public
Disclosure:
OSVDB Verified
OSVDB:
Web Related
Technical
phpPgAds is a port of phpAdsNew with PostgreSQL for its database backend, instead of MySQL.
This vulnerability requires 'regsiter_globals' in the 'php.ini' configuration file to be set to 'on' for successful exploitation.
Solution
Upgrade phpPgAds or phpAdsNew to version 2.0.4-pr2 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.
This product uses the Daylife API but is not endorsed or certified by Daylife.
This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.