Random Homebrew: XMB Theme Manager for 3.03-3.40 OE firmwares
XMB Theme Manager for 3.03-3.40 OE firmwares

PSVita Buffer Overflow...?

Re: PSVita Buffer Overflow...?

Postby thecobra » Fri Jun 29, 2012 12:54 am

Advertising
n00neimp0rtant wrote:thecobra, why not try playing with format strings? Even though you can't actually see the vita's console/syslog, that doesn't mean you can't try tossing in some %n or %hhn format specifiers to potentially jenk around with the instructions. The past 2 iOS jailbreak untethers (sigcheck patches applied at boot time) use format string vulnerabilities =P


I try that first but it seems that the system doesn't patch/convert those special string into anything. just read them like normal characters. but it does interprets the ASCII char for /n
Image
Tools

PSP Hack Device
PSVita 1.80 eCFW <Thank to wololo Community>
PSVita 1.67 vHBL Dead :(
PSP FAT 6.60 - CFW pro
thecobra
HBL Collaborator
 
Posts: 167
Joined: Thu Feb 24, 2011 7:50 pm

Re: PSVita Buffer Overflow...?

Postby Davee » Fri Jun 29, 2012 1:18 am

Advertising
thecobra wrote:
n00neimp0rtant wrote:thecobra, why not try playing with format strings? Even though you can't actually see the vita's console/syslog, that doesn't mean you can't try tossing in some %n or %hhn format specifiers to potentially jenk around with the instructions. The past 2 iOS jailbreak untethers (sigcheck patches applied at boot time) use format string vulnerabilities =P


I try that first but it seems that the system doesn't patch/convert those special string into anything. just read them like normal characters. but it does interprets the ASCII char for /n


"/n", do you mean "\n" ?
Follow me on twitter: @DaveeFTW
Davee
Guru
 
Posts: 299
Joined: Mon Jan 10, 2011 1:24 am

Re: PSVita Buffer Overflow...?

Postby thecobra » Fri Jun 29, 2012 12:27 pm

Davee wrote:
thecobra wrote:
n00neimp0rtant wrote:thecobra, why not try playing with format strings? Even though you can't actually see the vita's console/syslog, that doesn't mean you can't try tossing in some %n or %hhn format specifiers to potentially jenk around with the instructions. The past 2 iOS jailbreak untethers (sigcheck patches applied at boot time) use format string vulnerabilities =P


I try that first but it seems that the system doesn't patch/convert those special string into anything. just read them like normal characters. but it does interprets the ASCII char for /n


"/n", do you mean "\n" ?


oops, yeah I meant "\n". in ASCII character, that be hex 0A. it reads this fine and make a new line when printing it out.
Image
Tools

PSP Hack Device
PSVita 1.80 eCFW <Thank to wololo Community>
PSVita 1.67 vHBL Dead :(
PSP FAT 6.60 - CFW pro
thecobra
HBL Collaborator
 
Posts: 167
Joined: Thu Feb 24, 2011 7:50 pm

Re: PSVita Buffer Overflow...?

Postby Lomy » Fri Jun 29, 2012 6:25 pm

try other format tokens, any you can think of. ;)
http://en.wikipedia.org/wiki/Format_string_attack

-psp3k, cfw:660PRO-C
-psv_wifi, ofw:1.61-VHBLed
Lomy
 
Posts: 5
Joined: Sun Mar 04, 2012 9:42 am

Re: PSVita Buffer Overflow...?

Postby thecobra » Mon Jul 02, 2012 10:10 pm

Lomy wrote:try other format tokens, any you can think of. ;)
http://en.wikipedia.org/wiki/Format_string_attack


Ok i can say that none of the printf special commands (ex, "%s,%x,...etc") work with these strings.
Second, n00neimp0rtant brought to my attention that it may not be char [] buffer but pointers to string buffers. This is only a possibility of what i may be instead of what i originally thought to be. This is not saying i am wrong but it is saying that i may not be right.

third, I found out that the psvita seems to treat hex "C2" has a special character that print out a special symbol based on the next character on the line. I am searching to see if there any documentation of this online or if this is just something special for PSVita(Which i doubt that).

I noticed that if i put C2 in front of 00, that the string are return empty. I trying to see if there any crash i can cause using this ;)

C1 seem to act the same way has 00 in the sense that the string it read to that point, C2-C7 seem to act about the same.
Image
Tools

PSP Hack Device
PSVita 1.80 eCFW <Thank to wololo Community>
PSVita 1.67 vHBL Dead :(
PSP FAT 6.60 - CFW pro
thecobra
HBL Collaborator
 
Posts: 167
Joined: Thu Feb 24, 2011 7:50 pm

Re: PSVita Buffer Overflow...?

Postby Davee » Mon Jul 02, 2012 11:20 pm

see utf-8.
Follow me on twitter: @DaveeFTW
Davee
Guru
 
Posts: 299
Joined: Mon Jan 10, 2011 1:24 am

Re: PSVita Buffer Overflow...?

Postby Lomy » Tue Jul 03, 2012 5:43 pm

maybe the string can contain some special markers. :roll:
ex:{0},{1}..., can be replaced with additional params.
I don't think it only parse "\n".

-psp3k, cfw:660PRO-C
-psv_wifi, ofw:1.61-VHBLed
Lomy
 
Posts: 5
Joined: Sun Mar 04, 2012 9:42 am

Re: PSVita Buffer Overflow...?

Postby Suslik » Mon Oct 08, 2012 3:39 pm

Just a quick question. Vita's earlier(<1.80) OFW versions were known to freeze a lot when communicating to poorly-configured wifi-points. How about an idea to find a vulnerability connecting to a customly configured wifi router? I am pretty sure that IEEE 802.11 protocols do have some security failsafes but since earlier OFW versions did freeze it seems like sony has overlooked something on their side and it may be potentially exploitable. Any thoughts?
Suslik
 
Posts: 24
Joined: Mon Oct 08, 2012 2:12 am

Re: PSVita Buffer Overflow...?

Postby sonofskywalker3 » Mon Oct 08, 2012 4:16 pm

Image
sonofskywalker3
 
Posts: 22
Joined: Wed Oct 03, 2012 2:02 pm

Re: PSVita Buffer Overflow...?

Postby joeyj34 » Mon Oct 08, 2012 6:10 pm

i have got corrupt saves to tranfer to the vita and freeze the cm but not crash it im trying to find exploits to
but when i tried to load the save it just says it was corrupt and wont let me load it to cause a crash
im going to try something else with psplink dont know if its possible to use psplink with the vita
but its worth a shot i think seplugins work on tn not sure but im going to kepp experimenting
im good at finding stuff i remember a long time ago i found out how to use shangtu sung in mortal kombat snes
it was a glitch but it worked so i will keep looking
joeyj34
 
Posts: 101
Joined: Thu Aug 30, 2012 8:39 am

PreviousNext

Return to Security/Homebrews

Who is online

Users browsing this forum: JATF, vitasav and 3 guests

Friends

Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita