CVE-2008-7068
What it is
The dba_replace function in PHP 5.2.6 and 4.x allows context-dependent attackers to cause a denial of service (file truncation) via a key with the NULL byte. NOTE: this might only be a vulnerability in limited circumstances in which the attacker can modify or add database entries but does not have permissions to truncate the file.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 1.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.6% in the next 30 days (EPSS).
- Severity: 6.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.6% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- PHP 4.0
- PHP 4.0.0
- PHP 4.0.1
- PHP 4.0.2
- PHP 4.0.3
- PHP 4.0.4
- PHP 4.0.5
- PHP 4.0.6
Attack profile CVSS 2.0 · 6.4
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:N/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2008-7068.md and follow it. Check whether this project is affected by CVE-2008-7068. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313&r2=1.2027.2.547.2.1314&
- http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313&r2=1.2027.2.547.2.1314&
References
- http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313&r2=1.2027.2.547.2.1314&
- http://securityreason.com/achievement_securityalert/58
- http://www.osvdb.org/52206
- http://www.securityfocus.com/archive/1/498746/100/0/threaded
- http://www.securityfocus.com/archive/1/498981/100/0/threaded
- http://www.securityfocus.com/archive/1/498982/100/0/threaded
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47316
- http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313&r2=1.2027.2.547.2.1314&
- http://securityreason.com/achievement_securityalert/58
- http://www.osvdb.org/52206
- http://www.securityfocus.com/archive/1/498746/100/0/threaded
- http://www.securityfocus.com/archive/1/498981/100/0/threaded
- http://www.securityfocus.com/archive/1/498982/100/0/threaded
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47316