CVE-2009-0754: Low severity PHP PHP vulnerability

Published Mar 3, 2009
·
Updated

PHP 4.4.4, 5.1.6, and other versions, when running on Apache, allows local users to modify behavior of other sites hosted on the same web server by modifying the mbstring.funcoverload setting within .htaccess, which causes this setting to be applied to other virtual hosts on the same server.

Affected Software

6 affected components
PHP PHP=4.4.4
PHP PHP=5.1.6
Apache Apache
All of the following
Any of the following
PHP PHP=4.4.4
PHP PHP=5.1.6
Apache Apache

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable per-directory .htaccess overrides for virtual hosts by setting AllowOverride None in the Apache configuration (e.g., in the <Directory> or vhost blocks) so .htaccess cannot modify PHP settings such as mbstring.func_overload.

    Apache AllowOverride = None
  2. Configuration

    Configure mbstring.func_overload in the global php.ini to the desired value and ensure it cannot be overridden per-directory (i.e., remove or disallow php_value/php_flag overrides in .htaccess). Restart Apache/PHP after changing php.ini.

    PHP mbstring.func_overload = set in global php.ini only / disallow per-directory override
  3. Operational

    Search all hosted sites for .htaccess entries that set mbstring.func_overload (for example lines containing 'mbstring.func_overload' or 'php_value mbstring.func_overload') and remove or neutralize those entries; then restart Apache/PHP to apply the corrections.

Event History

Mar 3, 2009
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
04:30 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·04:30 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2009-0754?

CVE-2009-0754 is categorized as a moderate severity vulnerability due to its impact on local security settings.

2

How do I fix CVE-2009-0754?

To fix CVE-2009-0754, ensure that the mbstring.func_overload setting is secured and restrict .htaccess modifications to prevent unauthorized access.

3

Who is affected by CVE-2009-0754?

CVE-2009-0754 affects installations of PHP 4.4.4, 5.1.6, and potentially other versions running on Apache.

4

What systems are vulnerable to CVE-2009-0754?

Systems running PHP on Apache web servers, particularly those older versions of PHP, are vulnerable to CVE-2009-0754.

5

What are the implications of CVE-2009-0754?

CVE-2009-0754 can allow local users to alter PHP settings, which may lead to unintended behavior in applications hosted on the same server.

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