-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re: One could construct data that will cause at end seek to final position #3
Comments
Advancing position within Parcel by controlled amount happens naturally at many points, for example in |
If I am understanding correctly, for Hence in this case, in the AIDL checker, it should always have remaining data in the Parcel, and hence failing the I do take the point that E.g. readString could be used to advance the pointers by giving it the calculated length; so that sounds like you would need to look for situations where the AIDL call takes E.g. (..., Intent, String) as the parameters, where it has to end with E.g. readString, and takes Intent before that. Am I understanding it correctly? |
Yep, basically this exploit could be adapted so
Advance with controlled size is pretty common, aside of If exact length of remaining data is not known in advance the Also many |
Very cool thanks! |
Hello,
Very impressive find, can I ask one question Re: "although I think in many cases one could construct data that will cause at end seek to final position so this one isn't strong mitigation"
Can you elaborate on that a bit more?
Did you mean there are other parcelable classes can be used as the gadget to put in the PoC Parcel, that would do setPos when deserializing?
Thanks!
The text was updated successfully, but these errors were encountered: