CVE-2006-4483

The cURL extension files (1) ext/curl/interface.c and (2) ext/curl/streams.c in PHP before 5.1.5 permit the CURLOPT_FOLLOWLOCATION option when open_basedir or…

published August 31, 2006

CVSS
—
EPSS
3%
Percentile
86.9
In the wild
Unconfirmed
What it is

⚠️ A harmless-looking cURL option could be your undoing! The CURLOPT_FOLLOWLOCATION can be abused even with safeguards like open_basedir enabled, turning your configuration into a potential free-for-all! 🔥 Think of it like a restaurant with a kitchen that only allows certain ingredients. However, the chef can still substitute some items without asking, potentially serving up a dish that wasn't on the menu! This oversight could allow an attacker to follow redirects and access unauthorized resources, leading to data exposure or even manipulation of your server's realpath cache. It's a recipe for disaster if left unchecked!

Put simply

Think of it like a restaurant with a kitchen that only allows certain ingredients. However, the chef can still substitute some items without asking, potentially serving up a dish that wasn't on the menu! In PHP versions before 5.1.5, the cURL extension improperly permits the CURLOPT_FOLLOWLOCATION option while open_basedir or safe_mode is active, allowing unauthorized redirection actions.

What to do

This oversight could allow an attacker to follow redirects and access unauthorized resources, leading to data exposure or even manipulation of your server's realpath cache. It's a recipe for disaster if left unchecked! Upgrade to PHP version 5.1.5 or later to close this loophole. Additionally, review your cURL configurations and ensure that open_basedir is strictly enforced to limit access to only the designated directories. You've got this! With a quick update, you'll fortify your setup and keep those sneaky redirects at bay! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02914 · 86.9th percentile
Published
2006-08-31T21:00Z
EPSS history
Timeline
  • 31 AUG 21:00Z
    The cURL extension files (1) ext/curl/interface.c and (2) ext/curl/streams.c in PHP before 5.1.5 permit the CURLOPT_FOLLOWLOCATION option when open_basedir or…
    cvelistv5