---------------------------------------------------------------------- Want a new job? http://secunia.com/secunia_vacancies/ Secunia is looking for new researchers with a reversing background and experience in writing exploit code: http://secunia.com/hardcore_disassembler_and_reverse_engineer/ http://secunia.com/Disassembling_og_Reversing/ ---------------------------------------------------------------------- TITLE: PHP Interbase Extension "isc_attach_database()" Buffer Overflow SECUNIA ADVISORY ID: SA24529 VERIFY ADVISORY: http://secunia.com/advisories/24529/ CRITICAL: Less critical IMPACT: Privilege escalation WHERE: Local system SOFTWARE: PHP 4.4.x http://secunia.com/product/5768/ PHP 5.2.x http://secunia.com/product/13446/ DESCRIPTION: rgod has discovered a vulnerability in PHP's Interbase extension, which can be exploited by malicious users to gain escalated privileges. The vulnerability is caused due to a boundary error when processing arguments passed to "isc_attach_database()" in GDS32.DLL located in the PHP directory when the Interbase extension is installed. This can be exploited to cause a stack-based buffer overflow via an overly long (greater than 260 bytes) string passed as argument to e.g. PHP's "ibase_connect()" or "ibase_pconnect()" functions and execute arbitrary code therefore bypassing security restrictions like the "disable_functions" directive. Successful exploitation requires that the Interbase extension is installed. The vulnerability is reported in PHP 4.4.6 and confirmed in the PHP-5.2.1 win32 installer. Other versions may also be affected. SOLUTION: Grant only trusted users permissions to execute PHP code. PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://milw0rm.com/exploits/3488 ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------