CVE-2007-1399

Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled with PHP 5.2.0 and 5.2.1, allows remote attackers to execute…

published March 10, 2007

CVSS
—
EPSS
20%
Percentile
97.4
In the wild
Unconfirmed
What it is

⚠️ A seemingly innocent zip URL can lead to chaos! This stack-based buffer overflow in PECL ZIP 1.8.3 makes it possible for attackers to run arbitrary code simply by crafting a long zip:// URL. 🔥 Think of the zip:// URL as a delivery truck packed with sensitive packages. If the truck is too full, it can burst open, spilling all those packages out, and anyone can grab whatever they want — it’s a recipe for disaster! An attacker can exploit this vulnerability to execute any code they want on your server. This could mean gaining unauthorized access, altering data, or even taking control of your entire application — a nightmare scenario for any developer!

Put simply

Think of the zip:// URL as a delivery truck packed with sensitive packages. If the truck is too full, it can burst open, spilling all those packages out, and anyone can grab whatever they want — it’s a recipe for disaster! This vulnerability arises from insufficient validation of zip:// URLs, allowing a remote attacker to overflow the stack and execute arbitrary code during URL access. It particularly affects PECL ZIP versions 1.8.3 and earlier, bundled with PHP 5.2.0 and 5.2.1.

What to do

An attacker can exploit this vulnerability to execute any code they want on your server. This could mean gaining unauthorized access, altering data, or even taking control of your entire application — a nightmare scenario for any developer! To address this vulnerability, upgrade to PECL ZIP version 1.8.4 or later immediately. Ensure that your PHP version is also updated beyond 5.2.1. Additionally, review your application for any places where zip URLs are utilized and apply input validation to mitigate risks. You've got this! With these steps, you'll be on your way to securing your application! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.20098 · 97.4th percentile
Published
2007-03-10T22:00Z
EPSS history
Timeline
  • 10 MAR 22:00Z
    Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled with PHP 5.2.0 and 5.2.1, allows remote attackers to execute…
    cvelistv5