Tidylib for PHP Library Remote Buffer Overflow Vulnerability
BID:24527
Info
Tidylib for PHP Library Remote Buffer Overflow Vulnerability
| Bugtraq ID: | 24527 |
| Class: | Boundary Condition Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 19 2007 12:00AM |
| Updated: | Jun 19 2007 09:49PM |
| Credit: | rgod is credited with the discovery of this vulnerability. |
| Vulnerable: |
C. Reitzel TidyLib for PHP 050506 |
| Not Vulnerable: | |
Discussion
Tidylib for PHP Library Remote Buffer Overflow Vulnerability
Tidylib for PHP is prone to a remote buffer-overflow vulnerability because the library fails to perform boundary checks before copying user-supplied data to insufficiently sized memory buffers.
An attacker can exploit this issue to execute arbitrary machine code in the context of the application using the affected library. Failed exploit attempts will likely cause a crash, denying service to legitimate users.
This issue affects Tidylib for PHP 040603; other versions may also be affected.
Tidylib for PHP is prone to a remote buffer-overflow vulnerability because the library fails to perform boundary checks before copying user-supplied data to insufficiently sized memory buffers.
An attacker can exploit this issue to execute arbitrary machine code in the context of the application using the affected library. Failed exploit attempts will likely cause a crash, denying service to legitimate users.
This issue affects Tidylib for PHP 040603; other versions may also be affected.
Exploit / POC
Tidylib for PHP Library Remote Buffer Overflow Vulnerability
The following proof of concept is available:
The following proof of concept is available:
Solution / Fix
Tidylib for PHP Library Remote Buffer Overflow Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: mailto:[email protected].
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: mailto:[email protected].
References
Tidylib for PHP Library Remote Buffer Overflow Vulnerability
References:
References:
- PHP Homepage (PHP Group)
- Tidy Library for PHP Web Site (Tidy Library)