Lucene search
+L

PHP 4.3.x - Undefined Safe_Mode_Include_Dir Safemode Bypass

🗓️ 16 Jul 2003 00:00:00Reported by Michal KrauseType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 56 Views

PHP 4.3.x Safe Mode can be bypassed due to undefined directive, allowing unauthorized access.

Related
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
Mac OS X Multiple Vulnerabilities (Security Update 2005-001)
26 Jan 200500:00
nessus
nessus
Tenable Nessus
Mac OS X Multiple Vulnerabilities (Security Update 2005-001)
26 Jan 200500:00
nessus
nessus
Tenable Nessus
PHP < 4.3.3 php_check_safe_mode_include_dir Function Safemode Bypass
25 Jul 200300:00
nessus
cve
CVE
CVE-2003-0863
15 Oct 200304:00
cve
cvelist
Cvelist
CVE-2003-0863
15 Oct 200304:00
cvelist
euvd
EUVD
EUVD-2003-0854
7 Oct 202500:30
euvd
nvd
NVD
CVE-2003-0863
17 Nov 200305:00
nvd
redhatcve
RedhatCVE
CVE-2003-0863
30 Oct 201510:20
redhatcve
source: https://www.securityfocus.com/bid/8201/info

PHP is prone to an issue that may allow programs to bypass Safe Mode by calling external files in restricted directories using include() and require().

The problem is known to occur when the safe_mode_include_dir PHP directive is not defined. A logic error reportedly exists which could result in PHP failing to run a security check when attempting to access a file via an include() or require() call, potentially bypassing the Safe Mode model. This could allow unauthorized access or policy bypass in environments that use Safe Mode, such as in cases where a web server resource is shared by multiple users.

This issue is reported to exist in PHP versions 4.3.0 and later.

<?
echo("trying to read /etc/passwd");
include("/etc/passwd");
?>

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

25 Nov 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.06698
56