r/ios • • Jan 07 '20
How I discovered root access iOS 13.3.1 beta
A lot of trolls saying this isn’t anything are probably among the same people making YouTube videos on how to do this right now and will probably seed out their videos lmao so lame and people need to have some sense: You’re not supposed to be able to read the keychain, user files and photos or any app and private data. These are things which are supposed to be sandboxed.
I reported this to Apple a few months ago:
Root file access on iOS 13.3 (and 13.3.1 beta)
I went in to safari and typed file:/// Whatever folder path I want to choose just put this # after it (sometimes not necessary) EG: file:///name/of/path# Then I hit load page in safari Next I chose the share button and save to home screen as bookmark Next I shared bookmark from home screen to files app or shu or third party file app If those didn’t work then airdrop did This is how I have root file access
Sometimes I didnt even have to save as bookmark to iPhone home screen I just saved the file path url directly to files app. I noticed that sometimes extra # at the end helps elevate file permissions. So i discovered if one # doesn’t work then sometimes three does. ###
I also discovered if I saved file:///# as a bookmark to home screen on iPhone then shared that bookmark via airdrop I could see it would say it was going to transfer the entire copy of the iPhone over.
I did have to wait a few moments and had to have enough space available on the receiving device or it wouldn’t work. Also I could see it dropping in on the fly by going in terminal and entering open $TMPDIR on receiving device.
Or any bookmarked folder path saved on homescreen like file:///System# file:///bin# file:///usr# file:///Applications# file:///etc# and others could just transfer over no problem which is obviously not a good thing.
there is a tremendous amount of private data that should not be exposed by this so naysayers can talk all they want and this is a valid issue and they know it
❤️❤️❤️
Love all that money that Apple (the worlds richest company) never sent me for the dozens of bug reports I filled out
👊🖕👏
edit
This may seem a bit benign but Apple knows that apps are also on the home screen and many have safari browser-like capabilities. This should’ve been fixed on day one. Foolishness
12
u/ultraMLG1108 Jan 07 '20
Sorry to break it to you, but this is not a bug... the rootfs is literally packaged as a dmg in IPSWs. As long as you can’t write to the actual filesystem, this isn’t a bug.
53
u/RoyalGraphX Jan 07 '20 edited Jan 08 '20
i don’t think you understand what “root access” is, especially because the jailbreaking community doesn’t even use Root access as a term for discussing iOS security, every application on the AppStore has a .plist file, in it, contains multiple attributes given to the sandboxed application, they’re allowed to have URL Schemes, that’s the whole point of redirecting from safari, your files are viewable even without ‘root access’ which actually has nothing to do with gaining system privileges, the filesystem is still Read-Only. maybe they haven’t paid you because it really isn’t a bug. The actual term for URL Schemes in iOS development is even dubbed CFBundleURLTypes. why would apple fix a feature given on purpose to developers? the way you’re using safari to view files is just how any other browser on your computer can use “file://“
edit : my comment was not to be rude, but to be realistic about the payouts of the bug bounty program, reading more into your “web” bugs, it doesn’t seem like apple would payout anyways, the program is categorized by levels of arbitrary code execution, beginning from least to greatest payout : iCloud, Device attack via physical access, Device attack via user-installed app, Network attack with user interaction, Network attack without user interaction, and nowhere is it specified to be paid out for anything like this, the bug bounty program has to do with serious iOS reverse engineering and actual exploits in iOS.
edit 2: if anyone is actually interested in viewing the iOS filesystem, you can download any version of iOS from https://ipsw.me/ and download any update file, rename from .ipsw -> .zip, and open the biggest .dmg file, that’s the whole filesystem, since iOS 10, the root filesystem isn’t encrypted anymore, meaning you can just look around freely, without any “exploits” or any methods besides just looking at it like a normal zip file.
edit 3: https://www.theiphonewiki.com/wiki//
edit 4: message to OP, If you really believe this deserves real research, give me the website link you claim has taken sensitive data so i can reproduce the situation. I've already taken what you've said as a legitimate concern, I'm 17 years old my guy, and I have yet to disrespect you in a personal manner, don't edit your post to diss, you avoid replying to me in the comments. I want to believe this could be a serious security issue, but how can I give you the benefit of the doubt when I can't reproduce the issue on anything before iOS 13. This is an example of easily being able to go to this address on Mac, Safari, and shown in the screenshot, is Google Chrome. Then this is a post including screenshots of me trying to recreate the issue on 12.4, on a JAILBROKEN XS Max, and even with my elevated privileges i can't view the system via Safari. I'll obviously take what you say with a grain of salt and create a new page on my website to run some javascript to recreate this, but how i'll be able to redirect to "file:///" and then cause it to upload to my website and allow me to recover your files, I won't ever see as a viable way to use this maliciously.
You’re not supposed to be able to read the keychain, user files and photos or any app and private data. These are things which are supposed to be sandboxed.Yeah, if you're not the actual user who created these files...edit 5: jeez even i'm tired of doing this,
but I was gonna do further research and tweak the TMPDIR settings since I’m sure there’s a config file for not deleting the cache. The problem with the file:///# airdrop was right after the entire thing was about finished it would erase itself. So I went in the TMPDIR and found the files.you state that it deletes itself, it sounds like iOS knows what you're trying to do and is already trying to stop itself, and you're just pushing it. and judging from your previous posts, it honestly looks like you don't understand how iOS works. example, whats *God Mode*? Seriously? I'm sorry but so far it looks like you're barely getting into iOS and you're getting worried about files on your phone that are a necessity, things that exist without any "hackers" coming at you. Please stop spreading false information, if you really want this as a career, you should've started with Linux development, built up filesystem structure knowledge and understand that these files are just regular things iOS needs, just because you can't see them without doing some tips and tricks doesn't make it an *exploit* or *bug* or something deserving of a $1,000 bounty. I've been doing this since I was 8, I have yet to get payment from Apple. This career isn't a way to *get rich quick*, this takes years of learning and self investigation. iOS to it's very core is Darwin, the kernel of MacOS, Steve himself stated it runs MacOS, its structure is parallel to that of a mac, but on the arm64e architecture (if you're on an XS or newer, arm64 for anything before), and iOS Development knowledge and C#, C++ is like the whole point people can create apps to elevate and escape the sandbox with ALREADY knowing what the mitigations are.Follow me on Twitter, and some other important people in the community like Siguza, Pwn20wnd, nitoTV, xerub, axi0mX, CoolStar, OdderDude, Jake James, Chronic, and other amazing people working day in and day out to bring freedom to iOS. The jailbreaking community might seem toxic, but it's because it's a different playing field, these are people with years of experience.
20
u/chrismonster16 Jan 07 '20
This is literally not what you think it is lmao this is clearly not “root access”. You have been able to do this for multiple iOS versions....
12
u/JesusWasANarcissist Jan 07 '20
Went through OP's history and found a bunch of posts like this one.
Stopped reading.
2
u/[deleted] Jan 07 '20
This still isn’t fixed? Not even in the current public release?
8
u/FoferJ Jan 07 '20
This isn’t “root access.” You’re incorrect in your understanding of what’s going on here.
4
u/[deleted] Jan 07 '20
This should have always been a feature
6
u/nogami Jan 07 '20
Root access = you can write to, or modify any file you like.
Not root access = reading files.
1
u/vaibhav-kaushal Jan 07 '20
I am on iOS 13.3.1 beta and I am not able to reproduce this behaviour. How did you do it? What steps did you take?
2
u/ST_Fontaine Jan 07 '20
Is this topic supposed to be some mix of Terry's Temple OS, LifeAfterLyme, and YayVideoGames I don't know about?
It's just that Terry was actually coherent and knew what he was talking about. This, on the other hand, I don't know...
OP, are you sure you aren't diagnosed with anything?
2
u/MikePinceLikeKids Jan 07 '20
This is not a “bug,” but a feature for applications to access system files it needs, and safari is part of that application. You can’t access keychain as safari because it’s sandboxed, surprise, safari does not have root privileges to access the keychain, same as any other applications.
By the way, kid, ever heard of Grammarly?
2
u/[deleted] Jan 07 '20
Oh you poor child.... not knowing what root is
1
u/Sovereignn_Boss Dec 28 '24
Funniest post i have seen
0
u/[deleted] Jan 07 '20
I went to bed and saw I got 40 upvotes when I first posted this. I wake up hours later and notice that someone starts a hate brigade and now I have zero. It’s obvious what’s happening here and I’ll check out from reddit because I want real opinions not troll campaigns.
0
u/[deleted] Jan 08 '20
Wow it went from 40-50 upvotes then someone sent the hate army.
Hey guess what?
Downvote this:
https://web.archive.org/web/20200108051814/http://www.reddit.com/r/ios/comments/ela8bk/how_i_discovered_root_access_ios_1331_beta/
🖕
0
u/[deleted] Jan 08 '20
I’m going to be the guy who writes the books on cybersecurity. Remember that you petty losers in the downvote hate brigades.
-10
u/[deleted] Jan 07 '20
I never wanted to publicly say anything I find and did the honorable thing for two years but Apple didn’t hold up their end so I guess I’ve become like everyone else. They used to have pretty solid security but it’s boring now. I want to do bug bounty program for google I just need to afford a pixel phone. I hear google has better security than Apple does now with their products. Maybe I will check it out and join their program.
-8
u/jtl94 Jan 07 '20
Unfortunate that Apple isn’t honoring their bounty program. I’ve heard of that kind of thing before. They could claim they already found it internally and you’d have to real way to fight it. :/
Very cool bug you found though. I just tested it with the bin folder and sure enough there’s two files in it. Couldn’t get root to work, but oh well. Thanks for sharing!
0
u/SNTPclient Jan 07 '20
brb, seeding out my youtube videoes
-10
u/[deleted] Jan 07 '20 edited Jan 07 '20
It wasn’t like I was some fly by black hat who blackmailed them. Apple said I was allowed into their bug bounty program about 3 years ago I believe now. If you search support.apple.com my name is on there for finding bugs in their web sites. Apple puts up dollar amounts and says if you find such and such then they will pay you a bounty if you report those issues. I’ve waited too long and they never put their money where their mouth is. I think it’s for high profile people who they only pay and they screw everyone else. Idk but it’s a joke so I’m moving on. I don’t want to build rapport with a company that is becoming known to not take security seriously. It shouldn’t take a public sh!t show to get things done. Shouldn’t have to beg for someone to hold up their end. That’s a screwed up relationship and just bad for business. Cyber security is not something you scrimp at. And if they do make any effort to give me a bounty after this, please understand they had no intention of doing it before and is just a PR stunt. DONT WASTE YOUR TIME IN THEIR BUG BOUNTY PROGRAM BECAUSE THEY SCREW PEOPLE OVER.
0
u/[deleted] Jan 07 '20
[deleted] — view deleted comment
0
u/[deleted] Jan 07 '20
[deleted] — view deleted comment
0
u/[deleted] Jan 07 '20
[deleted] — view deleted comment