Changes

673 bytes added ,  22:42, 15 November 2016
Line 890: Line 890:  
|  
 
|  
 
| September(?) 2014
 
| September(?) 2014
 +
| [[User:Yellows8|Yellows8]]
 +
|-
 +
| CTPK buffer overflow
 +
| At offset 0x20 in CTPK is an array for each texture, each entry is 0x20-bytes. This contains a wordindex(entry+0x18) for some srcdata relative to CTPK+0, and an u8 wordsize(entry+0x14) for this data. The CTRSDK function handling this doesn't validate the size, when copying srcdata using this size to the output buffer. Applications usually have the output buffer on the stack, hence stack buffer overflow.
 +
 +
While CTPK(*.ctpk) are normally only loaded from RomFS, some application(s) load from elsewhere too.
 +
| ROP under the target application.
 +
| None?
 +
| "[SDK+NINTENDO:CTR_SDK-11_4_0_200_none]"
 +
| November 14, 2016
 
| [[User:Yellows8|Yellows8]]
 
| [[User:Yellows8|Yellows8]]
 
|}
 
|}