01.02.2014 Views

SBDA “same bug, different app” - Security Assessment

SBDA “same bug, different app” - Security Assessment

SBDA “same bug, different app” - Security Assessment

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Long Value <strong>SBDA</strong><br />

• Length Values Used In Allocation Or Copying<br />

Graphic size parameters<br />

Size of data blocks<br />

Size of text string<br />

• Common Mistakes<br />

Buffer is allocated the size of length, text is copied till null<br />

Buffer is allocated based on length, text is copied length bytes<br />

Buffer is preallocated, text is copied length bytes<br />

• FileLengther Tool<br />

Searches files for text strings that has a corresponding length in<br />

the byte/word before hand - [length][text string]<br />

• Some Findings<br />

.xls - Excel 2000 (MS04-033)<br />

.chm - htmlHelp (MS04-023)<br />

Copyright <strong>Security</strong>-<strong>Assessment</strong>.com 2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!