CVE-2001-1246: High severity PHP PHP vulnerability

Published 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.

Affected Software

2 affected components
PHP PHP=4.0.5
PHP PHP>=4.0.5<=4.1.0

Event History

Jun 30, 2001
CVE Published
04:00 AM
Jun 25, 2002
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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