Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA24529

PHP Interbase Extension "isc_attach_database()" Buffer Overflow
Secunia Advisory SA24529
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2007-03-16
Last Update 2007-03-21
   
Popularity 12,791 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Privilege escalation
Where Local system
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
   
3rd party PoC/exploit Link available in Customer Area
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Software:
PHP 4.4.x
PHP 5.2.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2007-1475 CVSS available in Customer Area
  

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

Changelog
Further details available in Customer Area

Original Advisory
http://milw0rm.com/exploits/3488

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: PHP Interbase Extension "isc_attach_database()" Buffer Overflow
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability