what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Secunia Security Advisory 16971

Secunia Security Advisory 16971
Posted Sep 27, 2005
Authored by Secunia | Site secunia.com

Secunia Security Advisory - thorben has discovered a security issue in PHP, which can be exploited by malicious, local users to access certain files outside the open_basedir root.

tags | advisory, local, root, php
SHA-256 | c58f44e9e0f470bea79c67ecc22f378dae16a90e5068a53be04b580578fa36bf

Secunia Security Advisory 16971

Change Mirror Download


TITLE:
PHP Trailing Slash "open_basedir" Security Bypass

SECUNIA ADVISORY ID:
SA16971

VERIFY ADVISORY:
https://secunia.com/advisories/16971/

CRITICAL:
Not critical

IMPACT:
Security Bypass

WHERE:
Local system

SOFTWARE:
PHP 4.4.x
https://secunia.com/product/5768/
PHP 5.0.x
https://secunia.com/product/3919/

DESCRIPTION:
thorben has discovered a security issue in PHP, which can be
exploited by malicious, local users to access certain files outside
the "open_basedir" root.

The security issue is caused due to fopen wrappers not correctly
obeying the "open_basedir" directive, which is designed to restrict
PHP scripts in certain environments from accessing files outside the
defined prefix. This can be exploited to access files in directories
outside the "open_basedir" root as if a trailing slash on the
"open_basedir" value is not taken into account.

Example:
Files in the "/user/test11/" directory can be accessed with the
"open_basedir" root set to "/user/test1/", but not files in the
"/user/test2/" directory.

The security issue has been confirmed in version 4.4.0 and 5.0.5.
Other versions may also be affected.

SOLUTION:
Use the "open_basedir" prefix as if a trailing slash on the value is
ignored.

PROVIDED AND/OR DISCOVERED BY:
thorben

ORIGINAL ADVISORY:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323585

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

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:
https://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
https://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