7.5
CWE
NVD-CWE-Other 88
Advisory Published
CVE Published
Updated

CVE-2001-1246

First published: Sat Jun 30 2001(Updated: )

PHP 4.0.5 through 4.1.0 in safe mode does not properly cleanse the 5th parameter to the mail() function, which allows local users and possibly remote attackers to execute arbitrary commands via shell metacharacters.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP>=4.0.5<=4.1.0
PHP=4.0.5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2001-1246?

    CVE-2001-1246 is considered a high severity vulnerability due to its potential to allow command execution by local users and possibly remote attackers.

  • How do I fix CVE-2001-1246?

    To fix CVE-2001-1246, upgrade PHP to version 4.1.2 or later to ensure the mail() function properly cleanses the input.

  • Which versions of PHP are affected by CVE-2001-1246?

    CVE-2001-1246 affects PHP versions 4.0.5 through 4.1.0, including the specific version 4.0.5.

  • What type of attacks can CVE-2001-1246 allow?

    CVE-2001-1246 can potentially allow command injection attacks through the improper handling of the mail() function's parameters.

  • Is CVE-2001-1246 relevant for all PHP installations?

    CVE-2001-1246 is particularly relevant for PHP installations running in safe mode and using the affected versions.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203