Description
PHP 5.2.5 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a long string in (1) the domain parameter to the dgettext function, the message parameter to the (2) dcgettext or (3) gettext function, the msgid1 parameter to the (4) dngettext or (5) ngettext function, or (6) the classname parameter to the stream_wrapper_register function. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless this issue can be demonstrated for code execution.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- PHP 5.2.5 - Multiple GetText functions Denial of Service Vulnerabilities EDB-30760 · dos · Nov 13, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 26428 vdb-entry
- 20071113 PHP <= 5.2.5 Gettext Lib Multiple Denial of service mailing-list
- 3365 third-party-advisory
- php-streamwrapperregister-dos(38442) vdb-entry
- php-multiple-gettext-dos(38443) vdb-entry
- 26426 vdb-entry
- 20071113 PHP <= 5.2.5 stream_wrapper_register() denial of service mailing-list
- 3366 third-party-advisory