exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Secunia Security Advisory 24353

Secunia Security Advisory 24353
Posted Mar 8, 2007
Authored by Secunia | Site secunia.com

Secunia Security Advisory - rgod has discovered a vulnerability in PHP's MSSQL Extension, which can be exploited to bypass certain security restrictions.

tags | advisory, php
SHA-256 | 7548c935403d7481ae958425714ef07a6db1f5d927ea09d4ac338fba470ff1bd

Secunia Security Advisory 24353

Change Mirror Download


----------------------------------------------------------------------

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 MSSQL Extension NTWDBLIB.DLL "dbopen" Buffer Overflow

SECUNIA ADVISORY ID:
SA24353

VERIFY ADVISORY:
http://secunia.com/advisories/24353/

CRITICAL:
Less critical

IMPACT:
Security Bypass

WHERE:
Local system

SOFTWARE:
PHP 5.2.x
http://secunia.com/product/13446/
PHP 4.4.x
http://secunia.com/product/5768/

DESCRIPTION:
rgod has discovered a vulnerability in PHP's MSSQL Extension, which
can be exploited to bypass certain security restrictions.

The vulnerability is caused due to a boundary error when processing
arguments within the "dbopen()" function in NTWDBLIB.DLL located in
the PHP directory when the MSSQL 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
"mssql_connect()" or "mssql_pconnect()" functions and execute
arbitrary code therefore bypassing security restrictions like the
"disable_functions" directive.

Successful exploitation requires that the MSSQL 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 access to the affected system.

PROVIDED AND/OR DISCOVERED BY:
rgod

ORIGINAL ADVISORY:
http://retrogod.altervista.org/php_446_mssql_connect_bof.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.

----------------------------------------------------------------------

Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    69 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close