10 comments on “Happy New Year Analysis of CVE-2012-4792

  1. Pingback: Lights, camera, infection: HACKERS get Bollywood makeover - GoDesi Blog

  2. Thanks for the great analysis! When you are setting breakpoints for CButton creation and deletion, where did you get the memory offsets from mshtml?

    1:025> bp !mshtml + 0x414c27 “.printf \”Created CButton at %p\”, eax;.echo;g”
    1:025> bp !mshtml + 0x414ae1 “.printf \”Deleting CButton at %p\”, eax;.echo;g”

  3. Pingback: [CVE-2012-4792]IE 0DAY – CDwnBindInfo Object Use-After-Free Vulnerability _ 程序人生

  4. Pingback: Security News #0×30 « CyberOperations

  5. All was explained well!! thanks! i would like just to add a simple explaination regards the: “e_div.className = “\u2424\u2424exodusintel.com————————–”;” ?

    the needed allocation was CButton object of 0×58 (88 dec), but JavaScript string objects are BSTR String objects that are UNICODE and paded with 2 NULL bytes in the end of string so the first \u2424\u2424 will not be UNICODED and equal to overall 4 bytes;

    the rest of the string should be treated like this:

    ‘e’ 00 ‘x’ 00 ‘o’ 00 ‘d’ 00 ‘u’ 00 ‘s’ 00 ‘i’ 00 ‘n’ 00 ‘t’ 00 ‘e’ 00 ‘l’ 00 ‘.’ 00 ‘c’ 00 ‘o’ 00 ‘m’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00 ‘-’ 00

    The ablove string is len of 82, so we have 4+82+(2 null pad) = 88 bytes.
    The first DWORD is the most important one all the rest are just padding.

    -Shai.

  6. Pingback: Crackean el Fix It temporal del fallo de seguridad día-cero en IE – Cuidando Tu Negocio

  7. Pingback: News: Windows XP vulnerable to a new Internet explorer exploit | N E T W A R D . C O . U K

  8. From what i see i don’t need to do this LFH trick (20 allocations) since after the CollectGarbage(); if i allocate the string it works.

    is this done for more reliability ? or indeed this is useless and not needed ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s