---------------------------------------------------------------------- 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: PHPads Multiple Vulnerabilities SECUNIA ADVISORY ID: SA33580 VERIFY ADVISORY: http://secunia.com/advisories/33580/ CRITICAL: Moderately critical IMPACT: Security Bypass, Cross Site Scripting, Exposure of sensitive information WHERE: >From remote REVISION: 2.0 originally posted 2009-01-20 SOFTWARE: PHPads 2.x http://secunia.com/advisories/product/21068/ DESCRIPTION: Danny Moules has discovered a security issue and a vulnerability in PHPads, which can be exploited by malicious people to disclose sensitive information and by malicious users to conduct script insertion attacks. 1) The security issue is caused due to improper access restrictions to the "ads.dat" file. This can be exploited to disclose the administrator's user name and password hash by requesting the file directly. Successful exploitation allows to bypass the authentication mechanism by creating the cookies "user" and "pass" and assigning them the corresponding values taken from the ads.dat file. 2) Input passed to the "ad_name" parameter in admin.php is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in the context of an affected site when the malicious ad is viewed (e.g. in admin.php when "action" is set to "list"). These vulnerabilities are confirmed in version 2.0. Other versions may also be affected. SOLUTION: Move the ads.dat file out of the web root. Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: Danny Moules CHANGELOG: 2009-01-20: Added vulnerability #2. Updated "Title", "Impact", and "Solution" sections. ORIGINAL ADVISORY: http://www.push55.co.uk/index.php?s=ad&id=5 http://www.push55.co.uk/poclibrary/blondishnet-1.txt ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------