---------------------------------------------------------------------- Did you know that a change in our assessment rating, exploit code availability, or if an updated patch is released by the vendor, is not part of this mailing-list? Click here to learn more: http://secunia.com/advisories/business_solutions/ ---------------------------------------------------------------------- TITLE: OpenX Multiple Vulnerabilities SECUNIA ADVISORY ID: SA32197 VERIFY ADVISORY: http://secunia.com/advisories/32197/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Manipulation of data, Exposure of system information, Exposure of sensitive information WHERE: >From remote SOFTWARE: OpenX (formerly Openads and phpAdsNew) 2.x http://secunia.com/advisories/product/4585/ DESCRIPTION: Multiple vulnerabilities have been discovered in OpenX, which can be exploited by malicious people to conduct cross-site scripting, cross-site request forgery, and file inclusion attacks and by malicious users to conduct script insertion and SQL injection attacks. 1) Input passed to the "clientid" parameter in "www/admin/banner-acl.php", "www/admin/banner-edit.php", "www/admin/campaign-zone.php", "www/admin/advertiser-campaigns.php", "www/admin/campaign-banners.php", and "www/admin/banner-activate.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 2) Input passed to the "orderdirection" and "listorder" parameters in "www/admin/userlog-index.php" and "www/admin/stats.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 3) Input passed to the "origPublisherId" parameter in "www/admin/userlog-index.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 4) Input passed to "setPerPage", "day", "period_end", "period_start", and "statsBreakdown" parameters in "www/admin/stats.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 5) Input passed to the "campaignid" parameter in "www/admin/banner-acl.php", "www/admin/banner-edit.php", "www/admin/banner-acl.php", "www/admin/campaign-zone.php", and "www/admin/campaign-banners.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 6) Input passed to the "bannerid" parameter in "www/admin/banner-acl.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 7) Input passed to the "affiliateid" parameter in "www/admin/zone-probability.php", "www/admin/zone-invocation.php", "www/admin/affiliate-zones.php", and "www/admin/zone-include.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 8) Input passed to the "zoneid" parameter in "www/admin/zone-probability.php", "www/admin/zone-invocation.php", and "www/admin/zone-include.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 9) Input passed to the "userid" parameter in "www/admin/admin-user.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 10) Input passed to the "thirdpartytrack" parameter in "www/admin/admin-generate.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 11) Input passed to the "agencyid" parameter in "www/admin/agency-edit.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 12) Input passed to the "codetype" parameter in "www/admin/affiliate-preview.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site. 13) The application allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to e.g. perform script insertion attacks via the "timezone" parameter in www/admin/account-preferences-timezone.php by tricking the user into visiting a malicious web site. 14) Input passed to the "name" and "description" parameters in "www/admin/channel-edit.php" is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in the context of an affected site when the malicious entry is viewed. 15) Input passed to the "campaignid" parameter in "www/admin/banner-acl.php", "www/admin/campaign-edit.php", and "www/admin/banner-edit.php" is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 16) Input passed to the "bannerid" parameter in "www/admin/banner-acl.php" is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 17) Input passed to the "listorder" parameter in "www/admin/userlog-index.php" is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 18) Input passed to the "affiliateid" parameter in "www/admin/zone-probability.php", "www/admin/channel-edit.php", "www/admin/zone-invocation.php", and "www/admin/zone-include.php" is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 19) Input passed to the "clientid" parameter in "www/admin/campaign-banners.php" is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 20) Input passed to the "zoneid" parameter in "www/admin/zone-delete.php" and "www/admin/zone-include.php" is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 21) Input passed to the "channelid" parameter in "www/admin/channel-acl.php" is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 22) Input passed to the "MAX_type" parameter in "www/delivery/fc.php" and to the "lang" parameter in "www/admin/numberFormat.js.php" is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks. NOTE: Other vulnerabilities may also exist. The vulnerabilities are confirmed in version 2.6.3. Other versions may also be affected. SOLUTION: Use another product. PROVIDED AND/OR DISCOVERED BY: Sarid Harper, Secunia. The local file inclusion vulnerability via the "MAX_type" parameter (#22) was also independently discovered and publicly reported by Charlie. ORIGINAL ADVISORY: Secunia Research: http://secunia.com/secunia_research/2009-4/ Charlie: http://milw0rm.com/exploits/7883 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------