CVE-2007-3378: Medium severity PHP PHP vulnerability

Published Jun 29, 2007
·
Updated

The (1) sessionsavepath, (2) iniset, and (3) errorlog functions in PHP 4.4.7 and earlier, and PHP 5 5.2.3 and earlier, when invoked from a .htaccess file, allow remote attackers to bypass safemode and openbasedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) phpvalue, (b) phpflag, and (c) directives in .htaccess.

Affected Software

2 affected components
PHP PHP>=4.0.0<=4.4.7
PHP PHP>=5.0.0<=5.2.3

Event History

Jun 29, 2007
CVE Published
06:30 PM
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2007-3378?

CVE-2007-3378 is considered a high severity vulnerability due to its potential to allow remote code execution.

2

How do I fix CVE-2007-3378?

To fix CVE-2007-3378, upgrade PHP to version 5.2.4 or later, or to a version 4.4.8 or later.

3

What versions of PHP are affected by CVE-2007-3378?

CVE-2007-3378 affects PHP versions 4.4.7 and earlier, as well as 5.2.3 and earlier.

4

What types of attacks can be carried out due to CVE-2007-3378?

CVE-2007-3378 allows remote attackers to bypass safe_mode and open_basedir restrictions, potentially executing arbitrary commands.

5

What functions in PHP are related to CVE-2007-3378?

The functions session_save_path, ini_set, and error_log are related to CVE-2007-3378 when invoked from a .htaccess file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203