4.6
MEDIUM
CVE-2006-4020
PHP scanf.c Buffer Over-Read Vulnerability
Description

scanf.c in PHP 5.1.4 and earlier, and 4.4.3 and earlier, allows context-dependent attackers to execute arbitrary code via a sscanf PHP function call that performs argument swapping, which increments an index past the end of an array and triggers a buffer over-read.

INFO

Published Date :

Aug. 8, 2006, 8:04 p.m.

Last Modified :

Nov. 21, 2024, 12:14 a.m.

Remotely Exploitable :

No

Impact Score :

6.4

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2006-4020 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Php php
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2006-4020.

URL Resource
ftp://patches.sgi.com/support/free/security/advisories/20061001-01-P.asc
http://bugs.php.net/bug.php?id=38322 Exploit Patch
http://rhn.redhat.com/errata/RHSA-2006-0688.html
http://rhn.redhat.com/errata/RHSA-2006-0736.html
http://secunia.com/advisories/21403
http://secunia.com/advisories/21467
http://secunia.com/advisories/21546
http://secunia.com/advisories/21608
http://secunia.com/advisories/21683
http://secunia.com/advisories/21768
http://secunia.com/advisories/21847
http://secunia.com/advisories/22004
http://secunia.com/advisories/22039
http://secunia.com/advisories/22069
http://secunia.com/advisories/22440
http://secunia.com/advisories/22487
http://secunia.com/advisories/22538
http://secunia.com/advisories/23247
http://security.gentoo.org/glsa/glsa-200608-28.xml
http://securityreason.com/securityalert/1341
http://securitytracker.com/id?1016984
http://support.avaya.com/elmodocs2/security/ASA-2006-221.htm
http://support.avaya.com/elmodocs2/security/ASA-2006-222.htm
http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm
http://www.mandriva.com/security/advisories?name=MDKSA-2006:144
http://www.novell.com/linux/security/advisories/2006_19_sr.html
http://www.novell.com/linux/security/advisories/2006_20_sr.html
http://www.novell.com/linux/security/advisories/2006_22_sr.html
http://www.novell.com/linux/security/advisories/2006_52_php.html
http://www.php.net/ChangeLog-5.php#5.1.5
http://www.php.net/release_5_1_5.php
http://www.plain-text.info/sscanf_bug.txt Exploit URL Repurposed
http://www.redhat.com/support/errata/RHSA-2006-0669.html
http://www.redhat.com/support/errata/RHSA-2006-0682.html
http://www.securityfocus.com/archive/1/442438/30/0/threaded Exploit Patch Vendor Advisory
http://www.securityfocus.com/bid/19415
http://www.ubuntu.com/usn/usn-342-1
http://www.vupen.com/english/advisories/2006/3193
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11062
ftp://patches.sgi.com/support/free/security/advisories/20061001-01-P.asc
http://bugs.php.net/bug.php?id=38322 Exploit Patch
http://rhn.redhat.com/errata/RHSA-2006-0688.html
http://rhn.redhat.com/errata/RHSA-2006-0736.html
http://secunia.com/advisories/21403
http://secunia.com/advisories/21467
http://secunia.com/advisories/21546
http://secunia.com/advisories/21608
http://secunia.com/advisories/21683
http://secunia.com/advisories/21768
http://secunia.com/advisories/21847
http://secunia.com/advisories/22004
http://secunia.com/advisories/22039
http://secunia.com/advisories/22069
http://secunia.com/advisories/22440
http://secunia.com/advisories/22487
http://secunia.com/advisories/22538
http://secunia.com/advisories/23247
http://security.gentoo.org/glsa/glsa-200608-28.xml
http://securityreason.com/securityalert/1341
http://securitytracker.com/id?1016984
http://support.avaya.com/elmodocs2/security/ASA-2006-221.htm
http://support.avaya.com/elmodocs2/security/ASA-2006-222.htm
http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm
http://www.mandriva.com/security/advisories?name=MDKSA-2006:144
http://www.novell.com/linux/security/advisories/2006_19_sr.html
http://www.novell.com/linux/security/advisories/2006_20_sr.html
http://www.novell.com/linux/security/advisories/2006_22_sr.html
http://www.novell.com/linux/security/advisories/2006_52_php.html
http://www.php.net/ChangeLog-5.php#5.1.5
http://www.php.net/release_5_1_5.php
http://www.plain-text.info/sscanf_bug.txt Exploit URL Repurposed
http://www.redhat.com/support/errata/RHSA-2006-0669.html
http://www.redhat.com/support/errata/RHSA-2006-0682.html
http://www.securityfocus.com/archive/1/442438/30/0/threaded Exploit Patch Vendor Advisory
http://www.securityfocus.com/bid/19415
http://www.ubuntu.com/usn/usn-342-1
http://www.vupen.com/english/advisories/2006/3193
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11062

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2006-4020 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2006-4020 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:php:php:5.1:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:php:php:4.3:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 11, 2017

    Action Type Old Value New Value
    Removed Reference http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:11062 [No Types Assigned]
    Added Reference https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11062 [No Types Assigned]
  • Initial Analysis by [email protected]

    Aug. 09, 2006

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2006-4020 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2006-4020 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.18 }} -0.00%

score

0.55424

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability