---------------------------------------------------------------------- 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: phpGreetCards File Upload and Cross-Site Scripting Vulnerabilities SECUNIA ADVISORY ID: SA33304 VERIFY ADVISORY: http://secunia.com/advisories/33304/ CRITICAL: Highly critical IMPACT: Cross Site Scripting, System access WHERE: >From remote SOFTWARE: phpGreetCards 3.x http://secunia.com/advisories/product/20868/ DESCRIPTION: ahmadbady has discovered some vulnerabilities in phpGreetCards, which can be exploited by malicious people to conduct cross-site scripting attacks and compromise a vulnerable system. 1) The index.php script fails to validate the types of uploaded images. This can be exploited to upload files with arbitrary extensions (e.g. ".php") and execute arbitrary PHP code on the server. 2) Input passed to the "category" parameter in index.php (when "mode" is set to "select") 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. These vulnerabilities are confirmed in version 3.7. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly verified and sanitised. PROVIDED AND/OR DISCOVERED BY: ahmadbady ORIGINAL ADVISORY: http://milw0rm.com/exploits/7561 ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------