TITLE: CuteNews "template" Local File Inclusion Vulnerability SECUNIA ADVISORY ID: SA17435 VERIFY ADVISORY: http://secunia.com/advisories/17435/ CRITICAL: Highly critical IMPACT: Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: CuteNews 1.x http://secunia.com/product/1798/ DESCRIPTION: rgod has discovered a vulnerability in CuteNews, which can be exploited by malicious people to disclose sensitive information and compromise a vulnerable system. Input passed to the "template" parameter in "show_archives.php" and "show_news.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources. This can further be exploited to execute arbitrary PHP code by including the "inc/ipban.mdu" script where PHP code can be injected via the "add_ip" parameter. Successful exploitation requires that "magic_quotes_gpc" is disabled. The vulnerability has been confirmed in version 1.4.1. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised and verified. PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://rgod.altervista.org/cute141.html ---------------------------------------------------------------------- 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/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/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 ----------------------------------------------------------------------